From: Bill Wendling Date: Wed, 8 Sep 2010 21:30:16 +0000 (+0000) Subject: Initialize the MSVCGuidDecl variable in the correct order. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b7566d8346ed8040a5cb7cefe96bd6ccbf015595;p=clang 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 --- 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)