mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Frontend] Rework -emit-supported-features mode into -emit-supported-arguments
The "featues" part was never actually implemented and Swift Driver is replying on information about arguments, so instead of removing this mode, let's scope it down to "arguments" to be deprecated in the future.
This commit is contained in:
@@ -682,8 +682,8 @@ ArgsToFrontendOptionsConverter::determineRequestedAction(const ArgList &args) {
|
||||
return FrontendOptions::ActionType::CompileModuleFromInterface;
|
||||
if (Opt.matches(OPT_typecheck_module_from_interface))
|
||||
return FrontendOptions::ActionType::TypecheckModuleFromInterface;
|
||||
if (Opt.matches(OPT_emit_supported_features))
|
||||
return FrontendOptions::ActionType::PrintFeature;
|
||||
if (Opt.matches(OPT_emit_supported_arguments))
|
||||
return FrontendOptions::ActionType::PrintArguments;
|
||||
llvm_unreachable("Unhandled mode option");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user