[cfe-commits] r53055 - /cfe/trunk/test/Analysis/dead-stores.c
Ted Kremenek
kremenek at apple.com
Wed Jul 2 16:18:22 PDT 2008
Author: kremenek
Date: Wed Jul 2 18:18:22 2008
New Revision: 53055
URL: http://llvm.org/viewvc/llvm-project?rev=53055&view=rev
Log:
Update test case: simply running "clang -checker-simple" doesn't invoke the dead store checker anymore. We need "-warn-dead-stores" as well.
Modified:
cfe/trunk/test/Analysis/dead-stores.c
Modified: cfe/trunk/test/Analysis/dead-stores.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/dead-stores.c?rev=53055&r1=53054&r2=53055&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/dead-stores.c (original)
+++ cfe/trunk/test/Analysis/dead-stores.c Wed Jul 2 18:18:22 2008
@@ -1,5 +1,7 @@
// RUN: clang -warn-dead-stores -verify %s
-// RUN: clang -checker-simple -verify %s
+// RUN: clang -checker-simple -warn-dead-stores -verify %s
+// RUN: clang -warn-dead-stores -checker-simple -verify %s
+
void f1() {
int k, y;
More information about the cfe-commits
mailing list