From: Ted Kremenek Date: Tue, 26 Feb 2008 00:20:52 +0000 (+0000) Subject: Added FIXME. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4dc35223157f926164b6822711269cc73287cd80;p=clang Added FIXME. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47578 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Analysis/GRExprEngine.cpp b/Analysis/GRExprEngine.cpp index 4e6d1a3f6b..6c363b00b3 100644 --- a/Analysis/GRExprEngine.cpp +++ b/Analysis/GRExprEngine.cpp @@ -505,6 +505,8 @@ void GRExprEngine::VisitDeclStmt(DeclStmt* DS, GRExprEngine::NodeTy* Pred, 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),