summaryrefslogtreecommitdiffstats
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
commitad20b671fcf444a843c71d9de98a21bdcf07f993 (patch)
tree618c3946d2b68c3dbccdd5437199fb7a928fb4aa
parent24617b7152ee5daf3707db2555f1be410c30b9c2 (diff)
downloadbcm5719-llvm-ad20b671fcf444a843c71d9de98a21bdcf07f993.tar.gz
bcm5719-llvm-ad20b671fcf444a843c71d9de98a21bdcf07f993.zip
Now we can handle arrays.
llvm-svn: 58135
-rw-r--r--clang/lib/Analysis/GRExprEngine.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp
index b88b80c5627..ae1db6c462a 100644
--- a/clang/lib/Analysis/GRExprEngine.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud