Front-end: use separate flag for -swift-module-file instead of EQ

This commit is contained in:
Xi Ge
2020-06-02 13:36:41 -07:00
parent 01c18d01c1
commit 0d74428575
3 changed files with 6 additions and 4 deletions

View File

@@ -865,7 +865,7 @@ 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)) {
for (auto A: Args.filtered(OPT_swift_module_file)) {
Opts.ExplicitSwiftModules.push_back(resolveSearchPath(A->getValue()));
}
// Opts.RuntimeIncludePath is set by calls to