@@ -58,7 +58,7 @@ bool FrontendOptions::needsProperModuleName(ActionType action) {
5858 case ActionType::Immediate:
5959 case ActionType::REPL:
6060 case ActionType::PrintVersion:
61- case ActionType::PrintFeature :
61+ case ActionType::PrintArguments :
6262 return false ;
6363 case ActionType::EmitAssembly:
6464 case ActionType::EmitIRGen:
@@ -82,7 +82,7 @@ bool FrontendOptions::shouldActionOnlyParse(ActionType action) {
8282 case ActionType::EmitImportedModules:
8383 case ActionType::ScanDependencies:
8484 case ActionType::PrintVersion:
85- case ActionType::PrintFeature :
85+ case ActionType::PrintArguments :
8686 return true ;
8787 default :
8888 return false ;
@@ -103,7 +103,7 @@ bool FrontendOptions::doesActionRequireSwiftStandardLibrary(ActionType action) {
103103 case ActionType::DumpPCM:
104104 case ActionType::CompileModuleFromInterface:
105105 case ActionType::TypecheckModuleFromInterface:
106- case ActionType::PrintFeature :
106+ case ActionType::PrintArguments :
107107 return false ;
108108 case ActionType::ResolveImports:
109109 case ActionType::Typecheck:
@@ -138,7 +138,7 @@ bool FrontendOptions::doesActionRequireInputs(ActionType action) {
138138 switch (action) {
139139 case ActionType::NoneAction:
140140 case ActionType::PrintVersion:
141- case ActionType::PrintFeature :
141+ case ActionType::PrintArguments :
142142 return false ;
143143 case ActionType::REPL:
144144 case ActionType::Parse:
@@ -181,7 +181,7 @@ bool FrontendOptions::doesActionPerformEndOfPipelineActions(ActionType action) {
181181 switch (action) {
182182 case ActionType::NoneAction:
183183 case ActionType::PrintVersion:
184- case ActionType::PrintFeature :
184+ case ActionType::PrintArguments :
185185 case ActionType::EmitPCH:
186186 case ActionType::EmitPCM:
187187 case ActionType::DumpPCM:
@@ -226,7 +226,7 @@ bool FrontendOptions::supportCompilationCaching(ActionType action) {
226226 switch (action) {
227227 case ActionType::NoneAction:
228228 case ActionType::PrintVersion:
229- case ActionType::PrintFeature :
229+ case ActionType::PrintArguments :
230230 case ActionType::DumpPCM:
231231 case ActionType::REPL:
232232 case ActionType::Parse:
@@ -362,8 +362,8 @@ FrontendOptions::formatForPrincipalOutputFileForAction(ActionType action) {
362362
363363 case ActionType::ScanDependencies:
364364 return TY_JSONDependencies;
365- case ActionType::PrintFeature :
366- return TY_JSONFeatures ;
365+ case ActionType::PrintArguments :
366+ return TY_JSONArguments ;
367367 }
368368 llvm_unreachable (" unhandled action" );
369369}
@@ -386,7 +386,7 @@ bool FrontendOptions::canActionEmitDependencies(ActionType action) {
386386 case ActionType::REPL:
387387 case ActionType::DumpPCM:
388388 case ActionType::PrintVersion:
389- case ActionType::PrintFeature :
389+ case ActionType::PrintArguments :
390390 return false ;
391391 case ActionType::ResolveImports:
392392 case ActionType::Typecheck:
@@ -432,7 +432,7 @@ bool FrontendOptions::canActionEmitReferenceDependencies(ActionType action) {
432432 case ActionType::DumpPCM:
433433 case ActionType::ScanDependencies:
434434 case ActionType::PrintVersion:
435- case ActionType::PrintFeature :
435+ case ActionType::PrintArguments :
436436 return false ;
437437 case ActionType::Typecheck:
438438 case ActionType::MergeModules:
@@ -482,7 +482,7 @@ bool FrontendOptions::canActionEmitModuleSummary(ActionType action) {
482482 case ActionType::MergeModules:
483483 case ActionType::EmitModuleOnly:
484484 case ActionType::PrintVersion:
485- case ActionType::PrintFeature :
485+ case ActionType::PrintArguments :
486486 return false ;
487487 case ActionType::EmitSIL:
488488 case ActionType::EmitLoweredSIL:
@@ -519,7 +519,7 @@ bool FrontendOptions::canActionEmitClangHeader(ActionType action) {
519519 case ActionType::DumpPCM:
520520 case ActionType::ScanDependencies:
521521 case ActionType::PrintVersion:
522- case ActionType::PrintFeature :
522+ case ActionType::PrintArguments :
523523 return false ;
524524 case ActionType::Typecheck:
525525 case ActionType::MergeModules:
@@ -560,7 +560,7 @@ bool FrontendOptions::canActionEmitLoadedModuleTrace(ActionType action) {
560560 case ActionType::DumpPCM:
561561 case ActionType::ScanDependencies:
562562 case ActionType::PrintVersion:
563- case ActionType::PrintFeature :
563+ case ActionType::PrintArguments :
564564 return false ;
565565 case ActionType::ResolveImports:
566566 case ActionType::Typecheck:
@@ -610,7 +610,7 @@ bool FrontendOptions::canActionEmitModuleSemanticInfo(ActionType action) {
610610 case ActionType::DumpPCM:
611611 case ActionType::ScanDependencies:
612612 case ActionType::PrintVersion:
613- case ActionType::PrintFeature :
613+ case ActionType::PrintArguments :
614614 case ActionType::EmitSIL:
615615 case ActionType::EmitLoweredSIL:
616616 case ActionType::EmitSIBGen:
@@ -653,7 +653,7 @@ bool FrontendOptions::canActionEmitConstValues(ActionType action) {
653653 case ActionType::DumpPCM:
654654 case ActionType::ScanDependencies:
655655 case ActionType::PrintVersion:
656- case ActionType::PrintFeature :
656+ case ActionType::PrintArguments :
657657 return false ;
658658 case ActionType::Typecheck:
659659 case ActionType::MergeModules:
@@ -698,7 +698,7 @@ bool FrontendOptions::canActionEmitModule(ActionType action) {
698698 case ActionType::DumpPCM:
699699 case ActionType::ScanDependencies:
700700 case ActionType::PrintVersion:
701- case ActionType::PrintFeature :
701+ case ActionType::PrintArguments :
702702 return false ;
703703 case ActionType::MergeModules:
704704 case ActionType::EmitModuleOnly:
@@ -744,7 +744,7 @@ bool FrontendOptions::canActionEmitInterface(ActionType action) {
744744 case ActionType::EmitPCM:
745745 case ActionType::DumpPCM:
746746 case ActionType::ScanDependencies:
747- case ActionType::PrintFeature :
747+ case ActionType::PrintArguments :
748748 return false ;
749749 case ActionType::ResolveImports:
750750 case ActionType::Typecheck:
@@ -787,7 +787,7 @@ bool FrontendOptions::canActionEmitAPIDescriptor(ActionType action) {
787787 case ActionType::EmitPCM:
788788 case ActionType::DumpPCM:
789789 case ActionType::ScanDependencies:
790- case ActionType::PrintFeature :
790+ case ActionType::PrintArguments :
791791 return false ;
792792 case ActionType::ResolveImports:
793793 case ActionType::Typecheck:
@@ -838,7 +838,7 @@ bool FrontendOptions::doesActionProduceOutput(ActionType action) {
838838 case ActionType::EmitPCM:
839839 case ActionType::DumpPCM:
840840 case ActionType::ScanDependencies:
841- case ActionType::PrintFeature :
841+ case ActionType::PrintArguments :
842842 return true ;
843843
844844 case ActionType::TypecheckModuleFromInterface:
@@ -889,7 +889,7 @@ bool FrontendOptions::doesActionProduceTextualOutput(ActionType action) {
889889 case ActionType::DumpPCM:
890890 case ActionType::ScanDependencies:
891891 case ActionType::PrintVersion:
892- case ActionType::PrintFeature :
892+ case ActionType::PrintArguments :
893893 return true ;
894894 }
895895 llvm_unreachable (" unhandled action" );
@@ -916,7 +916,7 @@ bool FrontendOptions::doesActionGenerateSIL(ActionType action) {
916916 case ActionType::DumpPCM:
917917 case ActionType::ScanDependencies:
918918 case ActionType::PrintVersion:
919- case ActionType::PrintFeature :
919+ case ActionType::PrintArguments :
920920 return false ;
921921 case ActionType::EmitSILGen:
922922 case ActionType::EmitSIBGen:
@@ -967,7 +967,7 @@ bool FrontendOptions::doesActionGenerateIR(ActionType action) {
967967 case ActionType::DumpPCM:
968968 case ActionType::ScanDependencies:
969969 case ActionType::PrintVersion:
970- case ActionType::PrintFeature :
970+ case ActionType::PrintArguments :
971971 return false ;
972972 case ActionType::Immediate:
973973 case ActionType::REPL:
@@ -1011,7 +1011,7 @@ bool FrontendOptions::doesActionBuildModuleFromInterface(ActionType action) {
10111011 case ActionType::DumpPCM:
10121012 case ActionType::ScanDependencies:
10131013 case ActionType::PrintVersion:
1014- case ActionType::PrintFeature :
1014+ case ActionType::PrintArguments :
10151015 case ActionType::Immediate:
10161016 case ActionType::REPL:
10171017 case ActionType::EmitIRGen:
0 commit comments