mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Dependency Scanning] Consider '-swift-module-file' inputs when looking for dependencies
Previously this flag was only used to pass explicit dependencies to compilation tasks. This change adds support for the dependency scanner to also consider these inputs when resolving dependencies. Resolves https://github.com/swiftlang/swift-driver/issues/1951
This commit is contained in:
@@ -294,7 +294,8 @@ ModuleDependencyScanningWorker::ModuleDependencyScanningWorker(
|
||||
*workerASTContext,
|
||||
workerCompilerInvocation->getSearchPathOptions().ModuleLoadMode,
|
||||
*scanningASTDelegate, moduleOutputPath, sdkModuleOutputPath,
|
||||
swiftModuleClangCC1CommandLineArgs);
|
||||
swiftModuleClangCC1CommandLineArgs,
|
||||
workerCompilerInvocation->getSearchPathOptions().ExplicitSwiftModuleInputs);
|
||||
}
|
||||
|
||||
SwiftModuleScannerQueryResult
|
||||
|
||||
Reference in New Issue
Block a user