]> granicus.if.org Git - clang/commitdiff
Now we can handle arrays.
authorZhongxing Xu <xuzhongxing@gmail.com>
Sat, 25 Oct 2008 10:26:46 +0000 (10:26 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Sat, 25 Oct 2008 10:26:46 +0000 (10:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58135 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/GRExprEngine.cpp

index b88b80c56278efdf666f1d73b7283fd47f5f8ce8..ae1db6c462a6300c79a54fa866b290c3640d0c09 100644 (file)
@@ -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