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 | 42a552f8200ba5948661aee0106fce0c04e39818 (patch) | |
tree | 04f30894ef7887b79e0c2995edaffe4bc716f6a9 /lib/AST/DeclBase.cpp | |
parent | f304ddcf6bfbcb63b9d0b1f49569daa8c75fa9c5 (diff) |
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").
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58767 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclBase.cpp')
-rw-r--r-- | lib/AST/DeclBase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp index 3c6c91ea0a..de7a1d3ca4 100644 --- a/lib/AST/DeclBase.cpp +++ b/lib/AST/DeclBase.cpp @@ -238,6 +238,7 @@ void Decl::addDeclKind(Kind k) { // FIXME: Statistics for C++ decls. case CXXMethod: case CXXConstructor: + case CXXDestructor: case CXXClassVar: break; } |