diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-04-04 20:56:00 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-04-04 20:56:00 +0000 |
commit | 6f41715df2c6a31c0c3ab3088b8cd18a3c8321b8 (patch) | |
tree | 2816df4f0c0f32afdb80b14b6bad08e77f3d3f16 /test/Sema/uninit-variables.c | |
parent | 62c117db25cf7142e149fce82d2b3caa1237674c (diff) |
-Wuninitialized: use "self-init" warning when issue uninitialized values warnings from the dataflow analysis that include within the initializer of a variable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128843 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 3ddd097c8f..e0558ccc78 100644 --- a/test/Sema/uninit-variables.c +++ b/test/Sema/uninit-variables.c @@ -92,7 +92,7 @@ void test14() { } void test15() { - int x = x; // expected-warning{{variable 'x' is possibly uninitialized when used here}} expected-note{{variable 'x' is declared here}} + int x = x; // expected-warning{{variable 'x' is uninitialized when used within its own initialization}} expected-note{{variable 'x' is declared here}} } // Don't warn in the following example; shows dataflow confluence. |