diff options
author | John McCall <rjmccall@apple.com> | 2010-07-21 05:30:47 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-07-21 05:30:47 +0000 |
commit | f99a631e4e9bce1398e997d935c0e6024185bbca (patch) | |
tree | 3cf28d5b64bec1a02727d8ba7a5fe0775d2d819f /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 2e01b803566264f3e161f2ceec0ac5e4bfc68b0b (diff) | |
download | bcm5719-llvm-f99a631e4e9bce1398e997d935c0e6024185bbca.tar.gz bcm5719-llvm-f99a631e4e9bce1398e997d935c0e6024185bbca.zip |
Implement proper base/member destructor EH chaining.
llvm-svn: 108989
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 3e31803753c..26f6b63eeb6 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -781,11 +781,11 @@ public: void InitializeVTablePointers(const CXXRecordDecl *ClassDecl); - /// EmitDtorEpilogue - Emit all code that comes at the end of class's - /// destructor. This is to call destructors on members and base classes in - /// reverse order of their construction. - void EmitDtorEpilogue(const CXXDestructorDecl *Dtor, - CXXDtorType Type); + /// EnterDtorCleanups - Enter the cleanups necessary to complete the + /// given phase of destruction for a destructor. The end result + /// should call destructors on members and base classes in reverse + /// order of their construction. + void EnterDtorCleanups(const CXXDestructorDecl *Dtor, CXXDtorType Type); /// ShouldInstrumentFunction - Return true if the current function should be /// instrumented with __cyg_profile_func_* calls |