diff options
author | Sam McCall <sam.mccall@gmail.com> | 2019-10-04 14:11:05 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2019-10-04 14:11:05 +0000 |
commit | 35019497fe483b5bf762d7ec5580585b6f50de4b (patch) | |
tree | a2477d31d8c12d68483b168c3695a1951924c207 /include | |
parent | c491854e22742239573aa1ad0f252c9ec5d59192 (diff) | |
download | clang-35019497fe483b5bf762d7ec5580585b6f50de4b.tar.gz |
Further improve -Wbool-operation bitwise negation message
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373749 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-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 7aa3cd08cc..1c4ab50f73 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -6638,7 +6638,7 @@ def note_member_declared_here : Note< def note_member_first_declared_here : Note< "member %0 first declared here">; def warn_bitwise_negation_bool : Warning< - "bitwise negation of a boolean expression; did you mean a logicial negation?">, + "bitwise negation of a boolean expression; did you mean logical negation?">, InGroup<DiagGroup<"bool-operation">>; def err_decrement_bool : Error<"cannot decrement expression of type bool">; def warn_increment_bool : Warning< |