diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-07-28 15:40:39 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-07-28 15:40:39 +0000 |
commit | 5ec85c6db6f7ea98a32c3c588fd2beda72424198 (patch) | |
tree | e913120553aef9a827ee7b4d31bc788335d44429 | |
parent | abf7b72a965efba4a5ac6f85c66d5aba0c83f972 (diff) |
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
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 2 |
1 files changed, 1 insertions, 1 deletions
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<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 " |