]> granicus.if.org Git - clang/commit
Move the bool-conversions behind the DiagRuntimeBehavior logic. It's
authorChandler Carruth <chandlerc@gmail.com>
Tue, 1 Mar 2011 03:29:37 +0000 (03:29 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 1 Mar 2011 03:29:37 +0000 (03:29 +0000)
commite34e3f16580c586b032035e2612d12ae4569f21e
tree66e52bc4b1a48492ff6cc8f703ef2926fba924af
parent3c0349e87cdbd7316d06d2411d86ee1086e717a5
Move the bool-conversions behind the DiagRuntimeBehavior logic. It's
possible for these to show up due to metaprogramming both in unevaluated
contexts and compile-time dead branches.

Those aren't the bugs we're looking for.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126739 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
test/SemaCXX/warn_false_to_pointer.cpp