Frontend: remove -swift-module-file. NFC

We are now using a JSON file for explicit module inputs, so this argument can be removed.
This commit is contained in:
Xi Ge
2021-07-30 15:22:30 -07:00
parent d747ee97c1
commit 3fd5cd1fe4
7 changed files with 0 additions and 44 deletions

View File

@@ -1098,9 +1098,6 @@ static bool ParseSearchPathArgs(SearchPathOptions &Opts,
Opts.DisableModulesValidateSystemDependencies |=
Args.hasArg(OPT_disable_modules_validate_system_headers);
for (auto A: Args.filtered(OPT_swift_module_file)) {
Opts.ExplicitSwiftModules.push_back(resolveSearchPath(A->getValue()));
}
if (const Arg *A = Args.getLastArg(OPT_explict_swift_module_map))
Opts.ExplicitSwiftModuleMap = A->getValue();
for (auto A: Args.filtered(OPT_candidate_module_file)) {