diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-11-07 09:22:26 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-11-07 09:22:26 +0000 |
| commit | cc5d4f637cdf83adc174b96d2bfe27cef1cf0f36 (patch) | |
| tree | dc9ff424a78517434c2b6ba0eb90c8f8ddc8f405 /lib/CodeGen/CGExprConstant.cpp | |
| parent | 07643086c6460095855573902d66aae1b08a6182 (diff) | |
| download | clang-cc5d4f637cdf83adc174b96d2bfe27cef1cf0f36.tar.gz clang-cc5d4f637cdf83adc174b96d2bfe27cef1cf0f36.tar.bz2 clang-cc5d4f637cdf83adc174b96d2bfe27cef1cf0f36.tar.xz | |
Constant expression evaluation: support for arrays.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
| -rw-r--r-- | lib/CodeGen/CGExprConstant.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp index 7a1cbdeb1e..897ea02e58 100644 --- a/lib/CodeGen/CGExprConstant.cpp +++ b/lib/CodeGen/CGExprConstant.cpp @@ -1070,6 +1070,9 @@ llvm::Constant *CodeGenModule::EmitConstantExpr(const Expr *E, } return llvm::ConstantVector::get(Inits); } + case APValue::Array: + assert(0 && "shouldn't see array constants here yet"); + break; } } |
