summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2008-12-15 21:24:18 +0000
committerDouglas Gregor <dgregor@apple.com>2008-12-15 21:24:18 +0000
commit1349b457eee7240bb8022483db59d7edc87d6b47 (patch)
treeed4883aeac904e97986d7c8aa05d1e3cb9486eab /clang/lib/Sema/Sema.h
parent1c731fa86f493d08958a06a90e5853b3580f40a4 (diff)
downloadbcm5719-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.h2
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);
//===--------------------------------------------------------------------===//
OpenPOWER on IntegriCloud