Fix uninitialized value bug discovered buy msan buildbot.

llvm-svn: 191292
This commit is contained in:
Daniel Jasper 2013-09-24 12:30:27 +00:00
parent 3ce56622c8
commit 9a59e2c688
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ ModuleMap::ModuleMap(FileManager &FileMgr, DiagnosticConsumer &DC,
const LangOptions &LangOpts, const TargetInfo *Target,
HeaderSearch &HeaderInfo)
: LangOpts(LangOpts), Target(Target), HeaderInfo(HeaderInfo),
BuiltinIncludeDir(0), CompilingModule(0)
BuiltinIncludeDir(0), CompilingModule(0), SourceModule(0)
{
IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(new DiagnosticIDs);
Diags = IntrusiveRefCntPtr<DiagnosticsEngine>(