Merge pull request #25983 from DougGregor/one-way-constraints

[Constraint solver] Introduce one-way binding constraints.
This commit is contained in:
Doug Gregor
2019-08-14 09:19:11 -07:00
committed by GitHub
25 changed files with 916 additions and 92 deletions

View File

@@ -441,6 +441,8 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
if (Args.getLastArg(OPT_solver_disable_shrink))
Opts.SolverDisableShrink = true;
if (Args.getLastArg(OPT_enable_function_builder_one_way_constraints))
Opts.FunctionBuilderOneWayConstraints = true;
if (const Arg *A = Args.getLastArg(OPT_value_recursion_threshold)) {
unsigned threshold;