diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-07-02 20:37:36 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-07-02 20:37:36 +0000 |
| commit | 7454c563f192c75fa31c123af50e15eb32000423 (patch) | |
| tree | cb6a0b13191c7de2f54608877f3f0114c9d223d7 /clang/lib/Sema/Sema.h | |
| parent | 0ce84486c382b9377ebeb993b0c262a70c72350a (diff) | |
| download | bcm5719-llvm-7454c563f192c75fa31c123af50e15eb32000423.tar.gz bcm5719-llvm-7454c563f192c75fa31c123af50e15eb32000423.zip | |
Lazily declare the implicitly-declared destructor in a C++ class.
llvm-svn: 107510
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 1cd7d739d21..9ec790bcdc1 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -2282,6 +2282,10 @@ public: void DefineImplicitCopyAssignment(SourceLocation CurrentLocation, CXXMethodDecl *MethodDecl); + /// \brief Force the declaration of any implicitly-declared members of this + /// class. + void ForceDeclarationOfImplicitMembers(CXXRecordDecl *Class); + /// MaybeBindToTemporary - If the passed in expression has a record type with /// a non-trivial destructor, this will return CXXBindTemporaryExpr. Otherwise /// it simply returns the passed in expression. |

