r373616 - [NFC] Added missing changes for rL373614

David Bolvansky via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 3 08:26:26 PDT 2019


Author: xbolva00
Date: Thu Oct  3 08:26:26 2019
New Revision: 373616

URL: http://llvm.org/viewvc/llvm-project?rev=373616&view=rev
Log:
[NFC] Added missing changes for rL373614

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=373616&r1=373615&r2=373616&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Thu Oct  3 08:26:26 2019
@@ -6635,6 +6635,9 @@ def note_member_declared_here : Note<
   "member %0 declared here">;
 def note_member_first_declared_here : Note<
   "member %0 first declared here">;
+def warn_bitwise_negation_bool : Warning<
+  "bitwise negation of a boolean expression always evaluates to 'true'">,
+  InGroup<DiagGroup<"bool-operation">>;
 def err_decrement_bool : Error<"cannot decrement expression of type bool">;
 def warn_increment_bool : Warning<
   "incrementing expression of type bool is deprecated and "




More information about the cfe-commits mailing list