9b7ea0d2cc86c949ed70ad810f51ff34c7ce2f83 |
|
24-Jan-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Start checking nonnull (as well as format and argument_with_type_tag) on overloaded binary operators. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173315 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/attr-nonnull.cpp
|
3edf387e4338ff98d9874b4c1b41d787e49d6c2b |
|
23-Jan-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Make __attribute__((nonnull)) use the general expression evaluator to search for nulls instead of limiting itself to the language-defined "null pointer constant". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173227 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/attr-nonnull.cpp
|
909a70d8a185f701c20bacc3c76f8f5979cbbc7c |
|
25-Mar-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Apply the nonnull attribute to constructor expressions too. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128253 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/attr-nonnull.cpp
|
de43632a5951abf3f357e2f79dcddda4dc6ec8ff |
|
15-Dec-2010 |
Douglas Gregor <dgregor@apple.com> |
__attribute__((nonnull)) can apply to reference-to-pointer parameters. Fixes <rdar://problem/8769025>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/attr-nonnull.cpp
|
07d7e7a6b10f798459f350b792713db2fb3e9365 |
|
16-Nov-2010 |
Chandler Carruth <chandlerc@gmail.com> |
Re-work the handling of implicit 'this' arguments and silly GCC-style attribute argument indexes. This handles the offsets in a consistent manner for all of the attributes which I saw working with these concepts. I've also added tests for the attribute that motivated this: nonnull. I consolidated the tests for format attributes into one file, and fleshed them out a bit to trigger more of the warning cases. Also improved the quality of some of the diagnostics that occur with invalid argument indices. The only really questionable change here is supporting the implicit this argument for the ownership attribute. I'm not sure it's really a sensible concept there, but implemented the logic for consistency. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119339 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/attr-nonnull.cpp
|