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 | f3e9e43da4da01907025e19f038fb48a0e7160e2 (patch) | |
| tree | 61bec03d10094e61bd8556ca7e59482191f9cde4 /clang/lib/CodeGen | |
| parent | 6e47204b0cf3e63e38d94a1d93e36e8ed65d0ed0 (diff) | |
| download | bcm5719-llvm-f3e9e43da4da01907025e19f038fb48a0e7160e2.tar.gz bcm5719-llvm-f3e9e43da4da01907025e19f038fb48a0e7160e2.zip | |
Constant expression evaluation: support for arrays.
llvm-svn: 143922
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGExprConstant.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGExprConstant.cpp b/clang/lib/CodeGen/CGExprConstant.cpp index 7a1cbdeb1eb..897ea02e584 100644 --- a/clang/lib/CodeGen/CGExprConstant.cpp +++ b/clang/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; } } |

