mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Dependency Scanning] Emit header dependencies of binary Swift module dependencies in output and provide libSwiftScan API to query it
This commit is contained in:
@@ -2004,7 +2004,7 @@ struct ExplicitSwiftModuleLoader::Implementation {
|
||||
const std::vector<std::pair<std::string, std::string>>
|
||||
&commandLineExplicitInputs) {
|
||||
for (const auto &moduleInput : commandLineExplicitInputs) {
|
||||
ExplicitSwiftModuleInputInfo entry(moduleInput.second, {}, {});
|
||||
ExplicitSwiftModuleInputInfo entry(moduleInput.second, {}, {}, {});
|
||||
ExplicitModuleMap.try_emplace(moduleInput.first, std::move(entry));
|
||||
}
|
||||
}
|
||||
@@ -2270,7 +2270,7 @@ struct ExplicitCASModuleLoader::Implementation {
|
||||
const std::vector<std::pair<std::string, std::string>>
|
||||
&commandLineExplicitInputs) {
|
||||
for (const auto &moduleInput : commandLineExplicitInputs) {
|
||||
ExplicitSwiftModuleInputInfo entry(moduleInput.second, {}, {});
|
||||
ExplicitSwiftModuleInputInfo entry(moduleInput.second, {}, {}, {});
|
||||
ExplicitModuleMap.try_emplace(moduleInput.first, std::move(entry));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user