diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-07-27 21:57:17 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-07-27 21:57:17 +0000 |
commit | 0129b561a1452bf057f6b18b6a1de815d487ab81 (patch) | |
tree | e509ba077a7000a154eeebbf141ee4df97b9df64 /include/clang/Sema/ExternalSemaSource.h | |
parent | 07524039dce5c820f111a1b3f772b4261f004b4a (diff) |
Turn Sema::DelegatingCtorDecls into a LazyVector.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136273 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/ExternalSemaSource.h')
-rw-r--r-- | include/clang/Sema/ExternalSemaSource.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/clang/Sema/ExternalSemaSource.h b/include/clang/Sema/ExternalSemaSource.h index e0c7b4f0f0..a45456f3e8 100644 --- a/include/clang/Sema/ExternalSemaSource.h +++ b/include/clang/Sema/ExternalSemaSource.h @@ -18,6 +18,7 @@ namespace clang { +class CXXConstructorDecl; class DeclaratorDecl; class LookupResult; struct ObjCMethodList; @@ -86,6 +87,15 @@ public: virtual void ReadUnusedFileScopedDecls( SmallVectorImpl<const DeclaratorDecl *> &Decls) {} + /// \brief Read the set of delegating constructors known to the + /// external Sema source. + /// + /// The external source should append its own delegating constructors to the + /// given vector of declarations. Note that this routine may be + /// invoked multiple times; the external source should take care not to + /// introduce the same declarations repeatedly. + virtual void ReadDelegatingConstructors( + SmallVectorImpl<CXXConstructorDecl *> &Decls) {} // isa/cast/dyn_cast support static bool classof(const ExternalASTSource *Source) { |