We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e831c8d commit a56b49dCopy full SHA for a56b49d
include/swift/Sema/ConstraintSystem.h
@@ -5436,6 +5436,11 @@ class ConstraintSystem {
5436
bool applySolutionToBody(TapExpr *tapExpr,
5437
SyntacticElementTargetRewriter &rewriter);
5438
5439
+ /// Reorder the disjunctive clauses for a given expression to
5440
+ /// increase the likelihood that a favored constraint will be successfully
5441
+ /// resolved before any others.
5442
+ void optimizeConstraints(Expr *e);
5443
+
5444
void startExpressionTimer(ExpressionTimer::AnchorType anchor);
5445
5446
/// Determine if we've already explored too many paths in an
0 commit comments