diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2009-09-03 23:18:17 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-09-03 23:18:17 +0000 |
| commit | 37d065680b292e871a2053c582832232082648d2 (patch) | |
| tree | 3bddcf0a7348888673cdf767f0735d088724bae9 /clang/lib/Sema/Sema.h | |
| parent | 92291f6ad0db3e7f65cc57e4ecef42704f1c5193 (diff) | |
| download | bcm5719-llvm-37d065680b292e871a2053c582832232082648d2.tar.gz bcm5719-llvm-37d065680b292e871a2053c582832232082648d2.zip | |
Patch to instantiate destructors used to destruct
base and data members when they are needed.
llvm-svn: 80967
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 766d18bde1b..746c28af620 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -2191,6 +2191,12 @@ public: llvm::SmallVectorImpl<CXXBaseSpecifier *>& Bases, llvm::SmallVectorImpl<FieldDecl *>&Members); + /// computeBaseOrMembersToDestroy - Compute information in current + /// destructor decl's AST of bases and non-static data members which will be + /// implicitly destroyed. We are storing the destruction in the order that + /// they should occur (which is the reverse of construction order). + void computeBaseOrMembersToDestroy(CXXDestructorDecl *Destructor); + void AddImplicitlyDeclaredMembersToClass(CXXRecordDecl *ClassDecl); virtual void ActOnMemInitializers(DeclPtrTy ConstructorDecl, |

