From 5ec85c6db6f7ea98a32c3c588fd2beda72424198 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 28 Jul 2010 15:40:39 +0000 Subject: [PATCH] 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 --- include/clang/Basic/DiagnosticSemaKinds.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " -- 2.40.0