]> granicus.if.org Git - clang/commit
Improvements to -Wnull-conversion
authorRichard Trieu <rtrieu@google.com>
Wed, 15 Oct 2014 03:42:06 +0000 (03:42 +0000)
committerRichard Trieu <rtrieu@google.com>
Wed, 15 Oct 2014 03:42:06 +0000 (03:42 +0000)
commit7784ec0b8f8ff28428cc475f83bd641b030862a5
tree710578da33b3087f24a48a74581fb669c0ed343b
parent41ed5a7362c01b8969b9b2bbde5318bf447d1e0d
Improvements to -Wnull-conversion

Split logic to separate checking function
Refine the macro checking
Catch nullptr->bool conversions
Add some explanatory comments

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219774 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaChecking.cpp
test/SemaCXX/conversion.cpp
test/SemaCXX/nullptr.cpp