From 7267c1693abe7875b0c57268be05005ae013c6c9 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Fri, 29 May 2009 21:03:38 +0000 Subject: Add code for emitting C++ destructors. Not used yet. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72591 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenFunction.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/CodeGen/CodeGenFunction.h') diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 7c54a4da04..d7d6c729ad 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -37,6 +37,7 @@ namespace llvm { namespace clang { class ASTContext; + class CXXDestructorDecl; class Decl; class EnumConstantDecl; class FunctionDecl; @@ -476,6 +477,9 @@ public: CallExpr::const_arg_iterator ArgBeg, CallExpr::const_arg_iterator ArgEnd); + void EmitCXXDestructorCall(const CXXDestructorDecl *D, CXXDtorType Type, + llvm::Value *This); + //===--------------------------------------------------------------------===// // Declaration Emission //===--------------------------------------------------------------------===// -- cgit v1.2.3-70-g09d2