]> granicus.if.org Git - clang/commitdiff
Added FIXME.
authorTed Kremenek <kremenek@apple.com>
Tue, 26 Feb 2008 00:20:52 +0000 (00:20 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 26 Feb 2008 00:20:52 +0000 (00:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47578 91177308-0d34-0410-b5e6-96231b3b80d8

Analysis/GRExprEngine.cpp

index 4e6d1a3f6b30fa6b4f5911e99fe6452a50dd0ee7..6c363b00b3e4ace581b714e6047d0dd9bd236cd9 100644 (file)
@@ -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),