diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2016-03-10 00:20:37 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2016-03-10 00:20:37 +0000 |
commit | ae81bbb49674a1e05f12f3aed1d5bdcaff7fa3eb (patch) | |
tree | a06431c7c6d401e70003290dfd17774cf3664b4a /clang/lib/CodeGen/CodeGenFunction.h | |
parent | efa956cea04b345776b49e4bd8023558057d9584 (diff) | |
download | llvm-ae81bbb49674a1e05f12f3aed1d5bdcaff7fa3eb.zip llvm-ae81bbb49674a1e05f12f3aed1d5bdcaff7fa3eb.tar.gz llvm-ae81bbb49674a1e05f12f3aed1d5bdcaff7fa3eb.tar.bz2 |
EmitCXXStructorCall -> EmitCXXDestructorCall. NFC.
This function is only used in Microsoft ABI and only to emit
destructors. Rename/simplify it accordingly.
llvm-svn: 263081
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 13a3acb..85d5f7a 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -2710,11 +2710,10 @@ public: ReturnValueSlot ReturnValue, llvm::Value *This, llvm::Value *ImplicitParam, QualType ImplicitParamTy, const CallExpr *E); - RValue EmitCXXStructorCall(const CXXMethodDecl *MD, llvm::Value *Callee, - ReturnValueSlot ReturnValue, llvm::Value *This, - llvm::Value *ImplicitParam, - QualType ImplicitParamTy, const CallExpr *E, - StructorType Type); + RValue EmitCXXDestructorCall(const CXXDestructorDecl *DD, llvm::Value *Callee, + llvm::Value *This, llvm::Value *ImplicitParam, + QualType ImplicitParamTy, const CallExpr *E, + StructorType Type); RValue EmitCXXMemberCallExpr(const CXXMemberCallExpr *E, ReturnValueSlot ReturnValue); RValue EmitCXXMemberOrOperatorMemberCallExpr(const CallExpr *CE, |