summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2008-11-05 20:51:48 +0000
committerDouglas Gregor <dgregor@apple.com>2008-11-05 20:51:48 +0000
commit831c93f6c08b0111e9a185058e67cdc3e88bd1ab (patch)
tree15d851fc529d8540e479c0f4137bae713f43aa6d /clang/lib/Sema/Sema.h
parentb4ebbc5a865ba4b0dc6094d32f9f8731a0790658 (diff)
downloadbcm5719-llvm-831c93f6c08b0111e9a185058e67cdc3e88bd1ab.tar.gz
bcm5719-llvm-831c93f6c08b0111e9a185058e67cdc3e88bd1ab.zip
Parsing, representation, and preliminary semantic analysis of destructors.
Implicit declaration of destructors (when necessary). Extended Declarator to store information about parsed constructors and destructors; this will be extended to deal with declarators that name overloaded operators (e.g., "operator +") and user-defined conversion operators (e.g., "operator int"). llvm-svn: 58767
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index d14c5ffa200..68d2eeefc50 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -836,7 +836,13 @@ public:
virtual void ActOnFinishCXXClassDef(DeclTy *TagDecl);
- virtual DeclTy *ActOnConstructorDeclarator(CXXConstructorDecl *ConDecl);
+
+ bool CheckConstructorDeclarator(Declarator &D, QualType &R,
+ FunctionDecl::StorageClass& SC);
+ bool CheckDestructorDeclarator(Declarator &D, QualType &R,
+ FunctionDecl::StorageClass& SC);
+ DeclTy *ActOnConstructorDeclarator(CXXConstructorDecl *Constructor);
+ DeclTy *ActOnDestructorDeclarator(CXXDestructorDecl *Destructor);
//===--------------------------------------------------------------------===//
// C++ Derived Classes
OpenPOWER on IntegriCloud