diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-02-07 17:38:38 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-02-07 17:38:38 +0000 |
commit | 1b528445016c2dba23babeea07e352ca8b816262 (patch) | |
tree | a3a0b550cbf05cce1a02fa9a21ab5c630a84f689 /test/Sema/uninit-variables.c | |
parent | 6b5a61b6dc400027fd793dcadceeb9da944a37ea (diff) |
Move uninitialized variable checking back under -Wuninitialized-experimental. It is clear from user feedback that this warning is not quite ready.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125007 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/uninit-variables.c')
-rw-r--r-- | test/Sema/uninit-variables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/uninit-variables.c b/test/Sema/uninit-variables.c index 1a080299aa..973e504f63 100644 --- a/test/Sema/uninit-variables.c +++ b/test/Sema/uninit-variables.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -Wuninitialized -fsyntax-only -fblocks %s -verify +// RUN: %clang_cc1 -fsyntax-only -Wuninitialized-experimental -fsyntax-only -fblocks %s -verify int test1() { int x; // expected-note{{variable 'x' is declared here}} expected-note{{add initialization to silence this warning}} |