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:
@@ -754,8 +754,8 @@ const char *ToolChain::JobContext::computeFrontendModeForCompile() const {
|
||||
return "-emit-imported-modules";
|
||||
case file_types::TY_JSONDependencies:
|
||||
return "-scan-dependencies";
|
||||
case file_types::TY_JSONFeatures:
|
||||
return "-emit-supported-features";
|
||||
case file_types::TY_JSONArguments:
|
||||
return "-emit-supported-arguments";
|
||||
case file_types::TY_IndexData:
|
||||
return "-typecheck";
|
||||
case file_types::TY_Remapping:
|
||||
@@ -1041,7 +1041,7 @@ ToolChain::constructInvocation(const BackendJobAction &job,
|
||||
case file_types::TY_ClangModuleFile:
|
||||
case file_types::TY_IndexData:
|
||||
case file_types::TY_JSONDependencies:
|
||||
case file_types::TY_JSONFeatures:
|
||||
case file_types::TY_JSONArguments:
|
||||
llvm_unreachable("Cannot be output from backend job");
|
||||
case file_types::TY_Swift:
|
||||
case file_types::TY_dSYM:
|
||||
|
||||
Reference in New Issue
Block a user