diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-10-25 10:26:46 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-10-25 10:26:46 +0000 |
commit | c9b250e206dad6da29ec6ef226941e32561a264f (patch) | |
tree | 3f8e99133a27b191814be8294779e40b8401ebef /lib/Analysis/GRExprEngine.cpp | |
parent | 7d43a3183211a2ebaaa0e290e6797ec9471f3324 (diff) |
Now we can handle arrays.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | lib/Analysis/GRExprEngine.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index b88b80c562..ae1db6c462 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -1529,11 +1529,6 @@ void GRExprEngine::VisitDeclStmt(DeclStmt* DS, NodeTy* Pred, NodeSet& Dst) { const VarDecl* VD = dyn_cast<VarDecl>(D); - // FIXME: Add support for local arrays. - if (VD->getType()->isArrayType()) { - return; - } - Expr* Ex = const_cast<Expr*>(VD->getInit()); // FIXME: static variables may have an initializer, but the second |