Merge pull request #82506 from slavapestov/warn-long-expression-type-checking

Sema: Fix the -warn-long-expression-type-checking flag
This commit is contained in:
Slava Pestov
2025-06-27 01:10:25 -04:00
committed by GitHub
11 changed files with 26 additions and 18 deletions

View File

@@ -1945,7 +1945,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);