forked from OSchip/llvm-project
-Wformat should depend on format-extra-args so that -Wformat implies
the extra argument warnings, and -Wformat -Wno-format-extra-args turns on -Wformat but not the extra-args warnings. llvm-svn: 70363
This commit is contained in:
parent
941153afcd
commit
83a3235a3e
|
@ -32,9 +32,10 @@ def : DiagGroup<"conversion">;
|
|||
def : DiagGroup<"declaration-after-statement">;
|
||||
def ExtraTokens : DiagGroup<"extra-tokens">;
|
||||
|
||||
def Format : DiagGroup<"format">;
|
||||
def FormatExtraArgs : DiagGroup<"format-extra-args">;
|
||||
|
||||
def Format : DiagGroup<"format", [FormatExtraArgs]>;
|
||||
def Format2 : DiagGroup<"format=2", [Format]>;
|
||||
def : DiagGroup<"format-extra-args", [Format]>;
|
||||
def FormatNonLiteral : DiagGroup<"format-nonliteral", [Format]>;
|
||||
def FormatSecurity : DiagGroup<"format-security", [Format]>;
|
||||
def : DiagGroup<"format-y2k", [Format]>;
|
||||
|
|
Loading…
Reference in New Issue