diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2015-12-14 22:00:49 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2015-12-14 22:00:49 +0000 |
commit | 8d141e0120f4099a61ce8ee3ee5d1e60721c4328 (patch) | |
tree | 8a236a6c6c7596749503de9d112c77f5dddb414b /lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/main.cpp | |
parent | fa54acedd1fd1183143c0a7f4b77554fd8cdb1ec (diff) | |
download | bcm5719-llvm-8d141e0120f4099a61ce8ee3ee5d1e60721c4328.tar.gz bcm5719-llvm-8d141e0120f4099a61ce8ee3ee5d1e60721c4328.zip |
[Sema] Make nullness warnings appear in C++.
Given the following code:
int *_Nullable ptr;
int *_Nonnull nn = ptr;
...In C, clang will warn you about `nn = ptr`, because you're assigning
a nonnull pointer to a nullable pointer. In C++, clang issues no such
warning. This patch helps ensure that clang doesn't ever miss an
opportunity to complain about C++ code.
N.B. Though this patch has a differential revision link, the actual
review took place over email.
Differential Revision: http://reviews.llvm.org/D14938
llvm-svn: 255556
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/main.cpp')
0 files changed, 0 insertions, 0 deletions