Justin Bogner
2015-08-09 05:40:38 +00:00
parent 2a6edb30d9
commit b102d1a432
2 changed files with 4 additions and 9 deletions

View File

@@ -944,10 +944,8 @@ static bool compileModuleImpl(CompilerInstance &ImportingInstance,
FullSourceLoc(ImportLoc, ImportingInstance.getSourceManager()));
// If we're collecting module dependencies, we need to share a collector
// between all of the module CompilerInstances. Other than that, we don't
// want to produce any dependency output from the module build.
// between all of the module CompilerInstances.
Instance.setModuleDepCollector(ImportingInstance.getModuleDepCollector());
Invocation->getDependencyOutputOpts() = DependencyOutputOptions();
// Get or create the module map that we'll use to build this module.
std::string InferredModuleMapContent;