]> granicus.if.org Git - clang/commit
[Diagnostics] Emit better -Wbool-operation's warning message if we known that the...
authorDavid Bolvansky <david.bolvansky@gmail.com>
Mon, 7 Oct 2019 21:57:03 +0000 (21:57 +0000)
committerDavid Bolvansky <david.bolvansky@gmail.com>
Mon, 7 Oct 2019 21:57:03 +0000 (21:57 +0000)
commitbfb7afed5cdfdf021937d28826861825feb84969
tree1efc3b2d450be097ae1a302ca1adcf3f150d1471
parentafaf7b4576387ad03afacd65a2b3b0726cd631a0
[Diagnostics] Emit better -Wbool-operation's warning message if we known that the result is always true

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373973 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaChecking.cpp
lib/Sema/SemaExpr.cpp
test/Sema/warn-bitwise-negation-bool.c