aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
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
commit189e52fcdfc3c3d04a3812cab72c968ca1911378 (patch)
treebbae468c3758adeb5625557d60fe2750e1d7609d /clang/lib/CodeGen/CodeGenFunction.h
parented84f4abd47efd2a3e1d810eacdc06963432f48f (diff)
downloadllvm-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.h3
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);