diff options
| author | Douglas Gregor <dgregor@apple.com> | 2008-11-05 20:51:48 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2008-11-05 20:51:48 +0000 |
| commit | 831c93f6c08b0111e9a185058e67cdc3e88bd1ab (patch) | |
| tree | 15d851fc529d8540e479c0f4137bae713f43aa6d /clang/lib/Sema/Sema.h | |
| parent | b4ebbc5a865ba4b0dc6094d32f9f8731a0790658 (diff) | |
| download | bcm5719-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.h | 8 |
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 |

