diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2019-03-22 23:05:10 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2019-03-22 23:05:10 +0000 |
commit | d1c5b28c2aecd81c5746e733cbf74e82bf9266f0 (patch) | |
tree | 1b517417e1eeb00ffe1fd87bb6a5fe3e74a2a8b1 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | ccc6f838f748061dc1bc2b3d94ec53185f9ef27b (diff) | |
download | bcm5719-llvm-d1c5b28c2aecd81c5746e733cbf74e82bf9266f0.tar.gz bcm5719-llvm-d1c5b28c2aecd81c5746e733cbf74e82bf9266f0.zip |
IRGen: Remove StructorType; thread GlobalDecl through more code. NFCI.
This should make it easier to add more structor variants.
Differential Revision: https://reviews.llvm.org/D59724
llvm-svn: 356822
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index e8ab734c4bb..7d8cf45dd87 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -3661,11 +3661,10 @@ public: llvm::Value *ImplicitParam, QualType ImplicitParamTy, const CallExpr *E, CallArgList *RtlArgs); - RValue EmitCXXDestructorCall(const CXXDestructorDecl *DD, + RValue EmitCXXDestructorCall(GlobalDecl Dtor, const CGCallee &Callee, llvm::Value *This, llvm::Value *ImplicitParam, - QualType ImplicitParamTy, const CallExpr *E, - StructorType Type); + QualType ImplicitParamTy, const CallExpr *E); RValue EmitCXXMemberCallExpr(const CXXMemberCallExpr *E, ReturnValueSlot ReturnValue); RValue EmitCXXMemberOrOperatorMemberCallExpr(const CallExpr *CE, |