r236034 - Work around a suspected MSVC miscompile to try to bring the MSVC2013 buildbot back.

Richard Smith richard-llvm at metafoo.co.uk
Tue Apr 28 14:09:28 PDT 2015


Author: rsmith
Date: Tue Apr 28 16:09:27 2015
New Revision: 236034

URL: http://llvm.org/viewvc/llvm-project?rev=236034&view=rev
Log:
Work around a suspected MSVC miscompile to try to bring the MSVC2013 buildbot back.

Modified:
    cfe/trunk/include/clang/Lex/Preprocessor.h

Modified: cfe/trunk/include/clang/Lex/Preprocessor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Preprocessor.h?rev=236034&r1=236033&r2=236034&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/trunk/include/clang/Lex/Preprocessor.h Tue Apr 28 16:09:27 2015
@@ -498,6 +498,7 @@ class Preprocessor : public RefCountedBa
     SourceLocation ImportLoc;
 
     struct SavedMacroInfo {
+      SavedMacroInfo() : Latest(nullptr) {}
       MacroDirective *Latest;
       llvm::TinyPtrVector<ModuleMacro*> Overridden;
     };





More information about the cfe-commits mailing list