Skip to content

Commit 4432c51

Browse files
committed
[CSGen] Remove ConstraintOptimizer and all favoring logic
1 parent 757ca24 commit 4432c51

File tree

3 files changed

+1
-831
lines changed

3 files changed

+1
-831
lines changed

include/swift/Sema/ConstraintSystem.h

-5
Original file line numberDiff line numberDiff line change
@@ -5403,11 +5403,6 @@ class ConstraintSystem {
54035403
bool applySolutionToBody(TapExpr *tapExpr,
54045404
SyntacticElementTargetRewriter &rewriter);
54055405

5406-
/// Reorder the disjunctive clauses for a given expression to
5407-
/// increase the likelihood that a favored constraint will be successfully
5408-
/// resolved before any others.
5409-
void optimizeConstraints(Expr *e);
5410-
54115406
void startExpressionTimer(ExpressionTimer::AnchorType anchor);
54125407

54135408
/// Determine if we've already explored too many paths in an

0 commit comments

Comments
 (0)