diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-05-27 23:11:45 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-05-27 23:11:45 +0000 |
| commit | e44a2adf41f2cde4f8d10b7a13dd2b85fe6c7104 (patch) | |
| tree | a847169f43e3e599af71199fe24120c45ad78673 /clang/lib/Sema/Sema.h | |
| parent | b5f33c1634394b3e66ce0a2e945475016d4c5716 (diff) | |
| download | bcm5719-llvm-e44a2adf41f2cde4f8d10b7a13dd2b85fe6c7104.tar.gz bcm5719-llvm-e44a2adf41f2cde4f8d10b7a13dd2b85fe6c7104.zip | |
Reimplement much of the way that we track nested classes in the
parser. Rather than placing all of the delayed member function
declarations and inline definitions into a single bucket corresponding
to the top-level class, we instead mirror the nesting structure of the
nested classes and place the delayed member functions into their
appropriate place. Then, when we actually parse the delayed member
function declarations, set up the scope stack the same way as it was
when we originally saw the declaration, so that we can find, e.g.,
template parameters that are in scope.
llvm-svn: 72502
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 3825b7cc06a..0a285bd3095 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -1731,6 +1731,7 @@ public: SourceLocation LBrac, SourceLocation RBrac); + virtual void ActOnReenterTemplateScope(Scope *S, DeclPtrTy Template); virtual void ActOnStartDelayedCXXMethodDeclaration(Scope *S, DeclPtrTy Method); virtual void ActOnDelayedCXXMethodParameter(Scope *S, DeclPtrTy Param); |

