]> granicus.if.org Git - clang/commitdiff
Rename -Wlogical-bitwise-confusion to -Wconstant-logical-operand, which strikes
authorDaniel Dunbar <daniel@zuster.org>
Wed, 28 Jul 2010 15:40:39 +0000 (15:40 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 28 Jul 2010 15:40:39 +0000 (15:40 +0000)
me as more consistent and less pejorative.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109588 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index f2a9af4a1b540e532c4245f6192b91d6a088e652..891fba2c29e84e48570a4c5d1af1938697c4730b 100644 (file)
@@ -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<DiagGroup<"logical-bitwise-confusion">>;
+  "remove constant">, InGroup<DiagGroup<"constant-logical-operand">>;
   
 def err_sizeof_nonfragile_interface : Error<
   "invalid application of '%select{alignof|sizeof}1' to interface %0 in "