commit | cc5d4f637cdf83adc174b96d2bfe27cef1cf0f36 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Nov 07 09:22:26 2011 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Nov 07 09:22:26 2011 +0000 |
tree | dc9ff424a78517434c2b6ba0eb90c8f8ddc8f405 | |
parent | 07643086c6460095855573902d66aae1b08a6182 [diff] [blame] |
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; } }