summaryrefslogtreecommitdiff
path: root/lib/AST/ASTImporter.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-10-10 06:42:31 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-10-10 06:42:31 +0000
commit15bd5353553fa6bc8cd2bcc134915f249da5d70b (patch)
tree4a721284aac9a8a61b580e0607f54557d8ba28cc /lib/AST/ASTImporter.cpp
parent348a1f4ce3915fdcba1502e1f9bac0b6a81b77c4 (diff)
downloadclang-15bd5353553fa6bc8cd2bcc134915f249da5d70b.tar.gz
P0035R4: Semantic analysis and code generation for C++17 overaligned
allocation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ASTImporter.cpp')
-rw-r--r--lib/AST/ASTImporter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/ASTImporter.cpp b/lib/AST/ASTImporter.cpp
index d03de30d1b..9e17c0c3de 100644
--- a/lib/AST/ASTImporter.cpp
+++ b/lib/AST/ASTImporter.cpp
@@ -6330,6 +6330,7 @@ Expr *ASTNodeImporter::VisitCXXNewExpr(CXXNewExpr *CE) {
Importer.getToContext(),
CE->isGlobalNew(),
OperatorNewDecl, OperatorDeleteDecl,
+ CE->passAlignment(),
CE->doesUsualArrayDeleteWantSize(),
PlacementArgs,
Importer.Import(CE->getTypeIdParens()),