]> granicus.if.org Git - clang/commit
Implement a warning when converting the literal 'false' to a
authorDouglas Gregor <dgregor@apple.com>
Tue, 8 Jun 2010 17:35:15 +0000 (17:35 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 8 Jun 2010 17:35:15 +0000 (17:35 +0000)
commitd7a95971bd91b21922e5e878ba05bbe42b585cc9
treefb3c250621acf35c6aba519cfd97d8a6ee890090
parent2177ab7be5256e691a115356fcb8f3eef9c9733f
Implement a warning when converting the literal 'false' to a
pointer. Original patch by Troy D. Straszheim; fixes PR7283.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105621 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaOverload.cpp
test/SemaCXX/warn_false_to_pointer.cpp [new file with mode: 0644]