Sema: Change -solver-memory-threshold into a frontend flag for consistency with the others

This commit is contained in:
Slava Pestov
2025-06-25 18:26:15 -04:00
parent 0f00c89b31
commit 84d1d115e1
6 changed files with 6 additions and 8 deletions

View File

@@ -1944,7 +1944,7 @@ static bool ParseTypeCheckerArgs(TypeCheckerOptions &Opts, ArgList &Args,
Opts.SwitchCheckingInvocationThreshold);
setUnsignedIntegerArgument(OPT_debug_constraints_attempt,
Opts.DebugConstraintSolverAttempt);
setUnsignedIntegerArgument(OPT_solver_memory_threshold,
setUnsignedIntegerArgument(OPT_solver_memory_threshold_EQ,
Opts.SolverMemoryThreshold);
setUnsignedIntegerArgument(OPT_solver_scope_threshold_EQ,
Opts.SolverScopeThreshold);