diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-10-10 06:42:31 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-10-10 06:42:31 +0000 |
commit | 189e52fcdfc3c3d04a3812cab72c968ca1911378 (patch) | |
tree | bbae468c3758adeb5625557d60fe2750e1d7609d /clang/lib/CodeGen/CodeGenFunction.h | |
parent | ed84f4abd47efd2a3e1d810eacdc06963432f48f (diff) | |
download | llvm-189e52fcdfc3c3d04a3812cab72c968ca1911378.zip llvm-189e52fcdfc3c3d04a3812cab72c968ca1911378.tar.gz llvm-189e52fcdfc3c3d04a3812cab72c968ca1911378.tar.bz2 |
P0035R4: Semantic analysis and code generation for C++17 overaligned
allocation.
llvm-svn: 283722
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 4e149e6..eac759f 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -2033,7 +2033,8 @@ public: void EmitCXXDeleteExpr(const CXXDeleteExpr *E); void EmitDeleteCall(const FunctionDecl *DeleteFD, llvm::Value *Ptr, - QualType DeleteTy); + QualType DeleteTy, llvm::Value *NumElements = nullptr, + CharUnits CookieSize = CharUnits()); RValue EmitBuiltinNewDeleteCall(const FunctionProtoType *Type, const Expr *Arg, bool IsDelete); |