[cfe-commits] r58135 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp

Zhongxing Xu xuzhongxing at gmail.com
Sat Oct 25 03:26:47 PDT 2008


Author: zhongxingxu
Date: Sat Oct 25 05:26:46 2008
New Revision: 58135

URL: http://llvm.org/viewvc/llvm-project?rev=58135&view=rev
Log:
Now we can handle arrays.

Modified:
    cfe/trunk/lib/Analysis/GRExprEngine.cpp

Modified: cfe/trunk/lib/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngine.cpp?rev=58135&r1=58134&r2=58135&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Sat Oct 25 05:26:46 2008
@@ -1529,11 +1529,6 @@
   
   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





More information about the cfe-commits mailing list