Constant expression evaluation: support for arrays.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143922 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp
index 7a1cbde..897ea02 100644
--- a/lib/CodeGen/CGExprConstant.cpp
+++ b/lib/CodeGen/CGExprConstant.cpp
@@ -1070,6 +1070,9 @@
       }
       return llvm::ConstantVector::get(Inits);
     }
+    case APValue::Array:
+      assert(0 && "shouldn't see array constants here yet");
+      break;
     }
   }