]> granicus.if.org Git - clang/commit
Clean up the bool conversion warning. Group it with other conversion
authorChandler Carruth <chandlerc@gmail.com>
Sat, 9 Apr 2011 07:48:17 +0000 (07:48 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 9 Apr 2011 07:48:17 +0000 (07:48 +0000)
commitb6006696358572a668d6de773af8f550e54259bf
tree9eca251c932e4c792055144e5cb0ab3783a0dbb9
parent88f0aed95d2a0faf3cad66af2dc54596495a7d41
Clean up the bool conversion warning. Group it with other conversion
warnings, and make its text appropriate for constant bool expressions
other than 'false'. This should finish off PR9612.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129205 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaOverload.cpp
test/SemaCXX/warn-bool-conversion.cpp [moved from test/SemaCXX/warn_false_to_pointer.cpp with 66% similarity]