aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitReader.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2015-12-14 22:00:49 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2015-12-14 22:00:49 +0000
commit8d141e0120f4099a61ce8ee3ee5d1e60721c4328 (patch)
tree8a236a6c6c7596749503de9d112c77f5dddb414b /llvm/lib/Bitcode/Reader/BitReader.cpp
parentfa54acedd1fd1183143c0a7f4b77554fd8cdb1ec (diff)
downloadllvm-8d141e0120f4099a61ce8ee3ee5d1e60721c4328.zip
llvm-8d141e0120f4099a61ce8ee3ee5d1e60721c4328.tar.gz
llvm-8d141e0120f4099a61ce8ee3ee5d1e60721c4328.tar.bz2
[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 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions