forked from OSchip/llvm-project
add anonymous groups for all the warning command line flags that the clang
driver accepts and discards. llvm-svn: 69238
This commit is contained in:
parent
d4ed114e23
commit
eb8ec21dc9
|
@ -38,9 +38,61 @@ def Trigraphs : DiagGroup<"trigraphs">;
|
|||
def : DiagGroup<"extra">;
|
||||
def : DiagGroup<"">; // -W
|
||||
|
||||
|
||||
|
||||
|
||||
def : DiagGroup<"aggregate-return">;
|
||||
def : DiagGroup<"all">;
|
||||
def : DiagGroup<"bad-function-cast">;
|
||||
def : DiagGroup<"cast-align">;
|
||||
def : DiagGroup<"cast-qual">;
|
||||
def : DiagGroup<"char-align">;
|
||||
def : DiagGroup<"char-subscripts">;
|
||||
def : DiagGroup<"declaration-after-statement">;
|
||||
def : DiagGroup<"error-implicit-function-declaration">;
|
||||
def : DiagGroup<"error">;
|
||||
def : DiagGroup<"format-security">;
|
||||
def : DiagGroup<"format=2">;
|
||||
def : DiagGroup<"format">;
|
||||
def : DiagGroup<"four-char-constants">;
|
||||
def : DiagGroup<"init-self">;
|
||||
def : DiagGroup<"inline">;
|
||||
def : DiagGroup<"int-to-pointer-cast">;
|
||||
def : DiagGroup<"missing-braces">;
|
||||
def : DiagGroup<"missing-declarations">;
|
||||
def : DiagGroup<"missing-format-attribute">;
|
||||
def : DiagGroup<"most">;
|
||||
def : DiagGroup<"nested-externs">;
|
||||
def : DiagGroup<"newline-eof">;
|
||||
def : DiagGroup<"no-#warnings">;
|
||||
def : DiagGroup<"no-comment">;
|
||||
def : DiagGroup<"format-y2k">;
|
||||
def : DiagGroup<"long-long">;
|
||||
def : DiagGroup<"missing-field-initializers">;
|
||||
def : DiagGroup<"nonportable-cfstrings">;
|
||||
def : DiagGroup<"parentheses">;
|
||||
def : DiagGroup<"strict-selector-match">;
|
||||
def : DiagGroup<"nonportable-cfstrings">;
|
||||
def : DiagGroup<"old-style-definition">;
|
||||
def : DiagGroup<"packed">;
|
||||
def : DiagGroup<"parentheses">;
|
||||
def : DiagGroup<"pointer-arith">;
|
||||
def : DiagGroup<"pointer-to-int-cast">;
|
||||
def : DiagGroup<"redundant-decls">;
|
||||
def : DiagGroup<"return-type">;
|
||||
def : DiagGroup<"shadow">;
|
||||
def : DiagGroup<"shorten-64-to-32">;
|
||||
def : DiagGroup<"sign-compare">;
|
||||
def : DiagGroup<"strict-overflow=">;
|
||||
def : DiagGroup<"strict-overflow">;
|
||||
def : DiagGroup<"strict-prototypes">;
|
||||
def : DiagGroup<"switch">;
|
||||
def : DiagGroup<"uninitialized">;
|
||||
def : DiagGroup<"unknown-pragmas">;
|
||||
def : DiagGroup<"unused-function">;
|
||||
def : DiagGroup<"unused-label">;
|
||||
def : DiagGroup<"unused-parameter">;
|
||||
def : DiagGroup<"unused-value">;
|
||||
def : DiagGroup<"unused-variable">;
|
||||
def : DiagGroup<"variadic-macros">;
|
||||
def : DiagGroup<"write-strings">;
|
||||
|
||||
|
||||
// All diagnostics emitted by the compiler are an indirect subclass of this.
|
||||
|
|
Loading…
Reference in New Issue