diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-07-15 18:06:32 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-07-15 18:06:32 +0000 |
| commit | 81bfc074c9d14cc4c9b1e45035a386f81c0217d5 (patch) | |
| tree | 263f18fa42d0cc6acf8ece65326c994f4620ac92 /clang/test/Analysis/conditional-op-missing-lhs.c | |
| parent | 24768e3dc4c1f86e3015180325bf257917c207c3 (diff) | |
| download | bcm5719-llvm-81bfc074c9d14cc4c9b1e45035a386f81c0217d5.tar.gz bcm5719-llvm-81bfc074c9d14cc4c9b1e45035a386f81c0217d5.zip | |
Distinguish between dead stores and dead initializations.
llvm-svn: 53628
Diffstat (limited to 'clang/test/Analysis/conditional-op-missing-lhs.c')
| -rw-r--r-- | clang/test/Analysis/conditional-op-missing-lhs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/conditional-op-missing-lhs.c b/clang/test/Analysis/conditional-op-missing-lhs.c index 6296291cdfb..9fbb9f19875 100644 --- a/clang/test/Analysis/conditional-op-missing-lhs.c +++ b/clang/test/Analysis/conditional-op-missing-lhs.c @@ -4,7 +4,7 @@ void f1() { int i; - int j = i ? : 1; // expected-warning{{use of uninitialized variable}} //expected-warning{{Value stored to 'j' is never read}} + int j = i ? : 1; // expected-warning{{use of uninitialized variable}} //expected-warning{{Value stored to 'j' during its initialization is never read}} } void *f2(int *i) |

