summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/clang/Basic/DiagnosticGroups.td2
-rw-r--r--include/clang/Basic/DiagnosticLexKinds.td4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/Basic/DiagnosticGroups.td b/include/clang/Basic/DiagnosticGroups.td
index a31cfdb2a9..41e7d2a85e 100644
--- a/include/clang/Basic/DiagnosticGroups.td
+++ b/include/clang/Basic/DiagnosticGroups.td
@@ -204,7 +204,7 @@ def OverloadedShiftOpParentheses: DiagGroup<"overloaded-shift-op-parentheses">;
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">;
diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td
index 04ae1a4323..76c40c4c78 100644
--- a/include/clang/Basic/DiagnosticLexKinds.td
+++ b/include/clang/Basic/DiagnosticLexKinds.td
@@ -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 {