Added FIXME for properly handling local arrays using symbolic LValues.
For now we just treat their values as "Unknown."


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47294 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Analysis/GRExprEngine.cpp b/Analysis/GRExprEngine.cpp
index a004dc4..09ffcd4 100644
--- a/Analysis/GRExprEngine.cpp
+++ b/Analysis/GRExprEngine.cpp
@@ -435,6 +435,11 @@
   
   for (const ScopedDecl* D = DS->getDecl(); D; D = D->getNextDeclarator())
     if (const VarDecl* VD = dyn_cast<VarDecl>(D)) {
+      
+      // FIXME: Add support for local arrays.
+      if (VD->getType()->isArrayType())
+        continue;
+      
       const Expr* E = VD->getInit();      
       St = SetValue(St, lval::DeclVal(VD),
                     E ? GetValue(St, E) : UninitializedVal());