diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2016-04-29 09:39:50 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2016-04-29 09:39:50 +0000 |
commit | e7545b33ff79c55d08d78a35b052e494ea49a0bc (patch) | |
tree | cc287689fbc2a32c9bf08d9842350a8b2e0dbc59 /clang/lib/CodeGen/CGClass.cpp | |
parent | d8c12badad7765655e86810eab60db23d1258326 (diff) | |
download | bcm5719-llvm-e7545b33ff79c55d08d78a35b052e494ea49a0bc.tar.gz bcm5719-llvm-e7545b33ff79c55d08d78a35b052e494ea49a0bc.zip |
Implementation of VlA of GNU C++ extension, by Vladimir Yakovlev.
This enables GNU C++ extension "Variable length array" by default.
Differential Revision: http://reviews.llvm.org/D18823
llvm-svn: 268018
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGClass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp index 71b305c773d..768c2030a6c 100644 --- a/clang/lib/CodeGen/CGClass.cpp +++ b/clang/lib/CodeGen/CGClass.cpp @@ -1915,7 +1915,7 @@ void CodeGenFunction::EnterDtorCleanups(const CXXDestructorDecl *DD, /// \param zeroInitialize true if each element should be /// zero-initialized before it is constructed void CodeGenFunction::EmitCXXAggrConstructorCall( - const CXXConstructorDecl *ctor, const ConstantArrayType *arrayType, + const CXXConstructorDecl *ctor, const ArrayType *arrayType, Address arrayBegin, const CXXConstructExpr *E, bool zeroInitialize) { QualType elementType; llvm::Value *numElements = |