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

llvm-svn: 258131
This commit is contained in:
Nico Weber 2016-01-19 15:32:55 +00:00
parent 6a4761e384
commit b5d539380a
2 changed files with 3 additions and 3 deletions

View File

@ -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">;

View File

@ -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 {