From: Daniel Dunbar Date: Wed, 28 Jul 2010 15:40:39 +0000 (+0000) Subject: Rename -Wlogical-bitwise-confusion to -Wconstant-logical-operand, which strikes X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ec85c6db6f7ea98a32c3c588fd2beda72424198;p=clang Rename -Wlogical-bitwise-confusion to -Wconstant-logical-operand, which strikes me as more consistent and less pejorative. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109588 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index f2a9af4a1b..891fba2c29 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -1992,7 +1992,7 @@ def note_precedence_bitwise_silence : Note< def warn_logical_instead_of_bitwise : Warning< "use of logical %0 with constant operand; switch to bitwise %1 or " - "remove constant">, InGroup>; + "remove constant">, InGroup>; def err_sizeof_nonfragile_interface : Error< "invalid application of '%select{alignof|sizeof}1' to interface %0 in "