diff options
author | John McCall <rjmccall@apple.com> | 2010-09-02 22:18:59 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-09-02 22:18:59 +0000 |
commit | 25f7aa81589e7e78cf38065e66257c45a0851283 (patch) | |
tree | cbf7f05c0e862f17686a7856f189fa61951f6cf1 /clang/test/Analysis/null-deref-ps.c | |
parent | 2912df072d891383c7c007f8fcff9ad8a2520440 (diff) | |
download | bcm5719-llvm-25f7aa81589e7e78cf38065e66257c45a0851283.tar.gz bcm5719-llvm-25f7aa81589e7e78cf38065e66257c45a0851283.zip |
Experimentally move the tautological comparison warnings from -Wsign-compare
to -Wtautological-compare. This implies that they're now on by default.
If this causes chaos, I'll figure something else out.
llvm-svn: 112877
Diffstat (limited to 'clang/test/Analysis/null-deref-ps.c')
-rw-r--r-- | clang/test/Analysis/null-deref-ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/null-deref-ps.c b/clang/test/Analysis/null-deref-ps.c index 8daa8450681..d4d18b4ff3b 100644 --- a/clang/test/Analysis/null-deref-ps.c +++ b/clang/test/Analysis/null-deref-ps.c @@ -237,7 +237,7 @@ int* f10(int* p, signed char x, int y) { // Test case from <rdar://problem/6407949> void f11(unsigned i) { int *x = 0; - if (i >= 0) { + if (i >= 0) { // expected-warning{{always true}} // always true } else { *x = 42; // no-warning |