]> granicus.if.org Git - clang/commitdiff
Work around a suspected MSVC miscompile to try to bring the MSVC2013 buildbot back.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 28 Apr 2015 21:09:27 +0000 (21:09 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 28 Apr 2015 21:09:27 +0000 (21:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236034 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Lex/Preprocessor.h

index c4765f099e4c363c86c981b06d44e69a3b82a013..4a6ed81218e849b64f782c238ac0e044a362529a 100644 (file)
@@ -498,6 +498,7 @@ class Preprocessor : public RefCountedBase<Preprocessor> {
     SourceLocation ImportLoc;
 
     struct SavedMacroInfo {
+      SavedMacroInfo() : Latest(nullptr) {}
       MacroDirective *Latest;
       llvm::TinyPtrVector<ModuleMacro*> Overridden;
     };