]> granicus.if.org Git - clang/commit
restrict the && -> & warning to cover a case daniel noted.
authorChris Lattner <sabre@nondot.org>
Thu, 15 Jul 2010 00:26:43 +0000 (00:26 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 15 Jul 2010 00:26:43 +0000 (00:26 +0000)
commit23ef3e4f044d701d0f84980fd9816fedf17fc0cb
tree19b26b61ea0da8e3fe53e535062feafa70a1691f
parent30c514c225342844700ed4640ec6d90ddf0e12b2
restrict the && -> & warning to cover a case daniel noted.
Don't warn about "logically bool" expressions on the RHS,
even if they fold to a constant.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108388 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/Sema/exprs.c