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/SemaDecl.cpp | |
| 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/SemaDecl.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index c1d670c0fdb..d090e322f11 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -3676,7 +3676,7 @@ void Sema::CheckFunctionDeclaration(Scope *S, FunctionDecl *NewFD, CXXRecordDecl *Record = Destructor->getParent(); QualType ClassType = Context.getTypeDeclType(Record); - // FIXME: Shouldn't we be able to perform thisc heck even when the class + // FIXME: Shouldn't we be able to perform this check even when the class // type is dependent? Both gcc and edg can handle that. if (!ClassType->isDependentType()) { DeclarationName Name |

