diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-14 21:44:34 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-14 21:44:34 +0000 |
commit | 48dd19b19ddb9e105f8cf0bf6f0732ca4e6a385b (patch) | |
tree | 48beecdf0187053b9d18bb56cd95d8b8366d1ff1 /lib/Sema/Sema.cpp | |
parent | 304376651e85a6f84055ffa0b42517f8631e7f6b (diff) |
Introduce a stack of instantiation scopes that are used to store the mapping from variable declarations that occur within templates to their instantiated counterparts
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71799 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r-- | lib/Sema/Sema.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index b931cf8967..411d5a1677 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -182,7 +182,8 @@ Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer, ExternalSource(0), CurContext(0), PreDeclaratorDC(0), CurBlock(0), PackContext(0), IdResolver(pp.getLangOptions()), GlobalNewDeleteDeclared(false), - CompleteTranslationUnit(CompleteTranslationUnit) { + CompleteTranslationUnit(CompleteTranslationUnit), + CurrentInstantiationScope(0) { StdNamespace = 0; TUScope = 0; |