]> granicus.if.org Git - clang/commitdiff
Add missing initialization for Sema::CurScope. This is important for AST consumers...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 6 May 2013 21:35:35 +0000 (21:35 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 6 May 2013 21:35:35 +0000 (21:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181251 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/Sema.cpp

index 956204734db0ae463403f21f1299de34c88e4959..e718be2f8bd580ce5fde8ec5f01c7122d53e54ab 100644 (file)
@@ -90,7 +90,7 @@ Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer,
     AccessCheckingSFINAE(false), InNonInstantiationSFINAEContext(false),
     NonInstantiationEntries(0), ArgumentPackSubstitutionIndex(-1),
     CurrentInstantiationScope(0), TyposCorrected(0),
-    AnalysisWarnings(*this), Ident_super(0)
+    AnalysisWarnings(*this), CurScope(0), Ident_super(0)
 {
   TUScope = 0;