forked from OSchip/llvm-project
Fix uninitialized value bug discovered buy msan buildbot.
llvm-svn: 191292
This commit is contained in:
parent
3ce56622c8
commit
9a59e2c688
|
@ -87,7 +87,7 @@ ModuleMap::ModuleMap(FileManager &FileMgr, DiagnosticConsumer &DC,
|
||||||
const LangOptions &LangOpts, const TargetInfo *Target,
|
const LangOptions &LangOpts, const TargetInfo *Target,
|
||||||
HeaderSearch &HeaderInfo)
|
HeaderSearch &HeaderInfo)
|
||||||
: LangOpts(LangOpts), Target(Target), HeaderInfo(HeaderInfo),
|
: LangOpts(LangOpts), Target(Target), HeaderInfo(HeaderInfo),
|
||||||
BuiltinIncludeDir(0), CompilingModule(0)
|
BuiltinIncludeDir(0), CompilingModule(0), SourceModule(0)
|
||||||
{
|
{
|
||||||
IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(new DiagnosticIDs);
|
IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(new DiagnosticIDs);
|
||||||
Diags = IntrusiveRefCntPtr<DiagnosticsEngine>(
|
Diags = IntrusiveRefCntPtr<DiagnosticsEngine>(
|
||||||
|
|
Loading…
Reference in New Issue