[cfe-commits] r113412 - /cfe/trunk/lib/Sema/Sema.cpp

Bill Wendling isanbard at gmail.com
Wed Sep 8 14:30:17 PDT 2010


Author: void
Date: Wed Sep  8 16:30:16 2010
New Revision: 113412

URL: http://llvm.org/viewvc/llvm-project?rev=113412&view=rev
Log:
Initialize the MSVCGuidDecl variable in the correct order.

Modified:
    cfe/trunk/lib/Sema/Sema.cpp

Modified: cfe/trunk/lib/Sema/Sema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/Sema.cpp?rev=113412&r1=113411&r2=113412&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/Sema.cpp (original)
+++ cfe/trunk/lib/Sema/Sema.cpp Wed Sep  8 16:30:16 2010
@@ -134,11 +134,12 @@
     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)





More information about the cfe-commits mailing list