mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
RequirementMachine: Add -enable-requirement-machine-loop-normalization flag
This commit is contained in:
@@ -1005,6 +1005,9 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
if (Args.hasArg(OPT_disable_requirement_machine_concrete_contraction))
|
||||
Opts.EnableRequirementMachineConcreteContraction = false;
|
||||
|
||||
if (Args.hasArg(OPT_enable_requirement_machine_loop_normalization))
|
||||
Opts.EnableRequirementMachineLoopNormalization = true;
|
||||
|
||||
Opts.DumpTypeWitnessSystems = Args.hasArg(OPT_dump_type_witness_systems);
|
||||
|
||||
return HadError || UnsupportedOS || UnsupportedArch;
|
||||
|
||||
Reference in New Issue
Block a user