r258131 - Rename -Wexpansion-to-undefined to -Wexpansion-to-defined.

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 19 07:32:55 PST 2016


Author: nico
Date: Tue Jan 19 09:32:55 2016
New Revision: 258131

URL: http://llvm.org/viewvc/llvm-project?rev=258131&view=rev
Log:
Rename -Wexpansion-to-undefined to -Wexpansion-to-defined.

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticGroups.td
    cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td

Modified: cfe/trunk/include/clang/Basic/DiagnosticGroups.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticGroups.td?rev=258131&r1=258130&r2=258131&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticGroups.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticGroups.td Tue Jan 19 09:32:55 2016
@@ -204,7 +204,7 @@ def OverloadedShiftOpParentheses: DiagGr
 def DanglingElse: DiagGroup<"dangling-else">;
 def DanglingField : DiagGroup<"dangling-field">;
 def DistributedObjectModifiers : DiagGroup<"distributed-object-modifiers">;
-def ExpansionToUndefined : DiagGroup<"expansion-to-undefined">;
+def ExpansionToDefined : DiagGroup<"expansion-to-defined">;
 def FlagEnum : DiagGroup<"flag-enum">;
 def IncrementBool : DiagGroup<"increment-bool", [DeprecatedIncrementBool]>;
 def InfiniteRecursion : DiagGroup<"infinite-recursion">;

Modified: cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td?rev=258131&r1=258130&r2=258131&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td Tue Jan 19 09:32:55 2016
@@ -660,10 +660,10 @@ def note_header_guard : Note<
 
 def warn_defined_in_object_type_macro : Warning<
   "macro expansion producing 'defined' has undefined behavior">,
-  InGroup<ExpansionToUndefined>;
+  InGroup<ExpansionToDefined>;
 def warn_defined_in_function_type_macro : Extension<
   "macro expansion producing 'defined' has undefined behavior">,
-  InGroup<ExpansionToUndefined>;
+  InGroup<ExpansionToDefined>;
 
 let CategoryName = "Nullability Issue" in {
 




More information about the cfe-commits mailing list