[cfe-commits] r47578 - /cfe/trunk/Analysis/GRExprEngine.cpp
Ted Kremenek
kremenek at apple.com
Mon Feb 25 16:20:52 PST 2008
Author: kremenek
Date: Mon Feb 25 18:20:52 2008
New Revision: 47578
URL: http://llvm.org/viewvc/llvm-project?rev=47578&view=rev
Log:
Added FIXME.
Modified:
cfe/trunk/Analysis/GRExprEngine.cpp
Modified: cfe/trunk/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Analysis/GRExprEngine.cpp?rev=47578&r1=47577&r2=47578&view=diff
==============================================================================
--- cfe/trunk/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/Analysis/GRExprEngine.cpp Mon Feb 25 18:20:52 2008
@@ -505,6 +505,8 @@
if (VD->getType()->isArrayType())
continue;
+ // FIXME: static variables have an initializer, but the second
+ // time a function is called those values may not be current.
const Expr* Ex = VD->getInit();
St = SetRVal(St, lval::DeclVal(VD),
More information about the cfe-commits
mailing list