[cfe-commits] r109588 - /cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
Daniel Dunbar
daniel at zuster.org
Wed Jul 28 08:40:40 PDT 2010
Author: ddunbar
Date: Wed Jul 28 10:40:39 2010
New Revision: 109588
URL: http://llvm.org/viewvc/llvm-project?rev=109588&view=rev
Log:
Rename -Wlogical-bitwise-confusion to -Wconstant-logical-operand, which strikes
me as more consistent and less pejorative.
Modified:
cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=109588&r1=109587&r2=109588&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Wed Jul 28 10:40:39 2010
@@ -1992,7 +1992,7 @@
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 "
More information about the cfe-commits
mailing list