mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #73601 from cachemeifyoucan/eng/PR-127844120
[ScanDependency] Pass crossimport overlay file to swift-frontend
This commit is contained in:
@@ -2091,6 +2091,12 @@ static bool ParseSearchPathArgs(SearchPathOptions &Opts, ArgList &Args,
|
||||
*forceModuleLoadingMode);
|
||||
}
|
||||
|
||||
for (auto *A : Args.filtered(OPT_swift_module_cross_import))
|
||||
Opts.CrossImportInfo[A->getValue(0)].push_back(A->getValue(1));
|
||||
|
||||
Opts.DisableCrossImportOverlaySearch |=
|
||||
Args.hasArg(OPT_disable_cross_import_overlay_search);
|
||||
|
||||
// Opts.RuntimeIncludePath is set by calls to
|
||||
// setRuntimeIncludePath() or setMainExecutablePath().
|
||||
// Opts.RuntimeImportPath is set by calls to
|
||||
|
||||
Reference in New Issue
Block a user