diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-09-08 21:30:16 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-09-08 21:30:16 +0000 |
commit | b7566d8346ed8040a5cb7cefe96bd6ccbf015595 (patch) | |
tree | 406fc70e22a162964cc251fe3fab9d29c9e18fc5 /lib/Sema/Sema.cpp | |
parent | d1877953f06df6df9b2cd5fc04b49e80eec66019 (diff) |
Initialize the MSVCGuidDecl variable in the correct order.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113412 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r-- | lib/Sema/Sema.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index 60e8c14cf9..3bb205ac17 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -134,11 +134,12 @@ Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer, Diags(PP.getDiagnostics()), SourceMgr(PP.getSourceManager()), ExternalSource(0), CodeCompleter(CodeCompleter), CurContext(0), PackContext(0), VisContext(0), ParsingDeclDepth(0), - IdResolver(pp.getLangOptions()), GlobalNewDeleteDeclared(false), + IdResolver(pp.getLangOptions()), MSVCGuidDecl(0), + GlobalNewDeleteDeclared(false), CompleteTranslationUnit(CompleteTranslationUnit), NumSFINAEErrors(0), SuppressAccessChecking(false), NonInstantiationEntries(0), CurrentInstantiationScope(0), TyposCorrected(0), - AnalysisWarnings(*this), MSVCGuidDecl(0) + AnalysisWarnings(*this) { TUScope = 0; if (getLangOptions().CPlusPlus) |