@@ -421,9 +421,9 @@ ClangImporter::getModuleDependencies(Identifier moduleName,
421
421
std::string workingDir = *optionalWorkingDir;
422
422
423
423
auto lookupModuleOutput =
424
- [moduleOutputPath](const ModuleID &MID ,
425
- ModuleOutputKind MOK) -> std::string {
426
- return moduleCacheRelativeLookupModuleOutput (MID , MOK, moduleOutputPath);
424
+ [moduleOutputPath](const ModuleDeps &MD ,
425
+ ModuleOutputKind MOK) -> std::string {
426
+ return moduleCacheRelativeLookupModuleOutput (MD. ID , MOK, moduleOutputPath);
427
427
};
428
428
429
429
auto clangModuleDependencies =
@@ -476,9 +476,10 @@ bool ClangImporter::getHeaderDependencies(
476
476
std::string workingDir = *optionalWorkingDir;
477
477
auto moduleOutputPath = cache.getModuleOutputPath ();
478
478
auto lookupModuleOutput =
479
- [moduleOutputPath](const ModuleID &MID ,
479
+ [moduleOutputPath](const ModuleDeps &MD ,
480
480
ModuleOutputKind MOK) -> std::string {
481
- return moduleCacheRelativeLookupModuleOutput (MID, MOK, moduleOutputPath);
481
+ return moduleCacheRelativeLookupModuleOutput (MD.ID , MOK,
482
+ moduleOutputPath);
482
483
};
483
484
auto dependencies = clangScanningTool.getTranslationUnitDependencies (
484
485
commandLineArgs, workingDir, cache.getAlreadySeenClangModules (),
0 commit comments