mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Frontend: move ExplicitSwiftModules into SearchPathOptions, NFC
This commit is contained in:
@@ -865,6 +865,9 @@ static bool ParseSearchPathArgs(SearchPathOptions &Opts,
|
||||
Opts.DisableModulesValidateSystemDependencies |=
|
||||
Args.hasArg(OPT_disable_modules_validate_system_headers);
|
||||
|
||||
for (auto A: Args.filtered(OPT_swift_module_file_EQ)) {
|
||||
Opts.ExplicitSwiftModules.push_back(resolveSearchPath(A->getValue()));
|
||||
}
|
||||
// Opts.RuntimeIncludePath is set by calls to
|
||||
// setRuntimeIncludePath() or setMainExecutablePath().
|
||||
// Opts.RuntimeImportPath is set by calls to
|
||||
|
||||
Reference in New Issue
Block a user