mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-27 07:19:03 -04:00
![]() Summary: This patch fixes __not_null's detection of nullptr by breaking it down into 4 cases. 1. `__not_null(Tp const&)`: Default case. Tp is not null. 2. `__not_null(Tp* __ptr);` Case for pointers to functions. 3. `__not_null(_Ret _Class::* __ptr);` Case for pointers to members. 4. `__not_null(function<Tp> const&);`: Cases for other std::functions. Reviewers: mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D11111 llvm-svn: 245335 |
||
---|---|---|
.. | ||
arithmetic.operations | ||
bind | ||
bitwise.operations | ||
comparisons | ||
func.def | ||
func.invoke | ||
func.memfn | ||
func.require | ||
func.wrap | ||
logical.operations | ||
negators | ||
refwrap | ||
unord.hash | ||
version.pass.cpp |