forked from OSchip/llvm-project
Include all warnings under '-Wunused' in '-Wmost' and '-Wall'.
llvm-svn: 100786
This commit is contained in:
parent
9f6bcf7b45
commit
a1de6fc575
|
@ -169,8 +169,7 @@ def Most : DiagGroup<"most", [
|
|||
Trigraphs,
|
||||
Uninitialized,
|
||||
UnknownPragmas,
|
||||
UnusedValue,
|
||||
UnusedVariable,
|
||||
Unused,
|
||||
VectorConversions,
|
||||
VolatileRegisterVar
|
||||
]>;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// RUN: %clang_cc1 -fsyntax-only -Wunused-function -verify %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -verify -Wunused %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -verify -Wall %s
|
||||
|
||||
void foo() {}
|
||||
static void f2() {}
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// RUN: %clang_cc1 -fsyntax-only -verify -Wunused-value %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -verify -Wunused %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -verify -Wall %s
|
||||
|
||||
int i = 0;
|
||||
int j = 0;
|
||||
|
|
Loading…
Reference in New Issue