diff options
author | Douglas Gregor <dgregor@apple.com> | 2008-12-15 21:24:18 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2008-12-15 21:24:18 +0000 |
commit | 1349b457eee7240bb8022483db59d7edc87d6b47 (patch) | |
tree | ed4883aeac904e97986d7c8aa05d1e3cb9486eab /clang/lib/Sema/Sema.h | |
parent | 1c731fa86f493d08958a06a90e5853b3580f40a4 (diff) | |
download | bcm5719-llvm-1349b457eee7240bb8022483db59d7edc87d6b47.tar.gz bcm5719-llvm-1349b457eee7240bb8022483db59d7edc87d6b47.zip |
Place constructors and destructors into the DeclContext of the class,
just like all other members, and remove the special variables in
CXXRecordDecl to store them. This eliminates a lot of special-case
code for constructors and destructors, including
ActOnConstructor/ActOnDeclarator and special lookup rules in
LookupDecl. The result is far more uniform and manageable.
Diagnose the redeclaration of member functions.
llvm-svn: 61048
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r-- | clang/lib/Sema/Sema.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 0f1c99f702f..528611b3a98 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -963,8 +963,6 @@ public: FunctionDecl::StorageClass& SC); bool CheckConversionDeclarator(Declarator &D, QualType &R, FunctionDecl::StorageClass& SC); - DeclTy *ActOnConstructorDeclarator(CXXConstructorDecl *Constructor); - DeclTy *ActOnDestructorDeclarator(CXXDestructorDecl *Destructor); DeclTy *ActOnConversionDeclarator(CXXConversionDecl *Conversion); //===--------------------------------------------------------------------===// |