Include all warnings under '-Wunused' in '-Wmost' and '-Wall'.

llvm-svn: 100786
This commit is contained in:
Ted Kremenek 2010-04-08 17:54:28 +00:00
parent 9f6bcf7b45
commit a1de6fc575
3 changed files with 5 additions and 2 deletions

View File

@ -169,8 +169,7 @@ def Most : DiagGroup<"most", [
Trigraphs,
Uninitialized,
UnknownPragmas,
UnusedValue,
UnusedVariable,
Unused,
VectorConversions,
VolatileRegisterVar
]>;

View File

@ -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() {}

View File

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