aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/GRExprEngine.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2008-10-25 10:26:46 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2008-10-25 10:26:46 +0000
commitc9b250e206dad6da29ec6ef226941e32561a264f (patch)
tree3f8e99133a27b191814be8294779e40b8401ebef /lib/Analysis/GRExprEngine.cpp
parent7d43a3183211a2ebaaa0e290e6797ec9471f3324 (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.cpp5
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