mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #78267 from slavapestov/incremental-bindings-part-0
Sema: Some small cleanups in CSBindings.cpp and related code
This commit is contained in:
@@ -1772,8 +1772,6 @@ static bool ParseTypeCheckerArgs(TypeCheckerOptions &Opts, ArgList &Args,
|
||||
Opts.SolverScopeThreshold);
|
||||
setUnsignedIntegerArgument(OPT_solver_trail_threshold_EQ,
|
||||
Opts.SolverTrailThreshold);
|
||||
setUnsignedIntegerArgument(OPT_solver_shrink_unsolved_threshold,
|
||||
Opts.SolverShrinkUnsolvedThreshold);
|
||||
|
||||
Opts.DebugTimeFunctionBodies |= Args.hasArg(OPT_debug_time_function_bodies);
|
||||
Opts.DebugTimeExpressions |=
|
||||
@@ -1862,8 +1860,8 @@ static bool ParseTypeCheckerArgs(TypeCheckerOptions &Opts, ArgList &Args,
|
||||
Opts.DebugForbidTypecheckPrefixes.push_back(A);
|
||||
}
|
||||
|
||||
if (Args.getLastArg(OPT_solver_disable_shrink))
|
||||
Opts.SolverDisableShrink = true;
|
||||
if (Args.getLastArg(OPT_solver_disable_splitter))
|
||||
Opts.SolverDisableSplitter = true;
|
||||
|
||||
if (FrontendOpts.RequestedAction == FrontendOptions::ActionType::Immediate)
|
||||
Opts.DeferToRuntime = true;
|
||||
|
||||
Reference in New Issue
Block a user