From 73f59c433d280e4b6fbf7377eef051a355a566f2 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 8 Sep 2010 21:30:16 +0000 Subject: Initialize the MSVCGuidDecl variable in the correct order. llvm-svn: 113412 --- clang/lib/Sema/Sema.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'clang/lib/Sema/Sema.cpp') diff --git a/clang/lib/Sema/Sema.cpp b/clang/lib/Sema/Sema.cpp index 60e8c14cf92..3bb205ac17f 100644 --- a/clang/lib/Sema/Sema.cpp +++ b/clang/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) -- cgit v1.2.3