[cfe-commits] r76625 - /cfe/trunk/test/Analysis/dead-stores.c
Mike Stump
mrs at apple.com
Tue Jul 21 12:01:32 PDT 2009
Author: mrs
Date: Tue Jul 21 14:01:31 2009
New Revision: 76625
URL: http://llvm.org/viewvc/llvm-project?rev=76625&view=rev
Log:
Prep for new warning.
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=76625&r1=76624&r2=76625&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/dead-stores.c (original)
+++ cfe/trunk/test/Analysis/dead-stores.c Tue Jul 21 14:01:31 2009
@@ -131,7 +131,7 @@
}
// Self-assignments should not be flagged as dead stores.
-int f17() {
+void f17() {
int x = 1;
x = x; // no-warning
}
More information about the cfe-commits
mailing list