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 | 73f59c433d280e4b6fbf7377eef051a355a566f2 (patch) | |
tree | 16a67e364012ac1bd36d1c2c608c31a7ae90fc0c /clang/lib | |
parent | 9050694b66ac392d9b098b1fad06bdbe521ad813 (diff) | |
download | bcm5719-llvm-73f59c433d280e4b6fbf7377eef051a355a566f2.tar.gz bcm5719-llvm-73f59c433d280e4b6fbf7377eef051a355a566f2.zip |
Initialize the MSVCGuidDecl variable in the correct order.
llvm-svn: 113412
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Sema/Sema.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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) |