From: Zhongxing Xu Date: Sat, 25 Oct 2008 10:26:46 +0000 (+0000) Subject: Now we can handle arrays. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c9b250e206dad6da29ec6ef226941e32561a264f;p=clang Now we can handle arrays. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58135 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(D); - // FIXME: Add support for local arrays. - if (VD->getType()->isArrayType()) { - return; - } - Expr* Ex = const_cast(VD->getInit()); // FIXME: static variables may have an initializer, but the second