Skip to content

Commit 4730a4f

Browse files
committed
[CSGen] Remove ConstraintOptimizer and all favoring logic
1 parent 9c0be90 commit 4730a4f

File tree

3 files changed

+1
-804
lines changed

3 files changed

+1
-804
lines changed

include/swift/Sema/ConstraintSystem.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5955,11 +5955,6 @@ class ConstraintSystem {
59555955
Optional<SolutionApplicationTarget>(SolutionApplicationTarget)>
59565956
rewriteTarget);
59575957

5958-
/// Reorder the disjunctive clauses for a given expression to
5959-
/// increase the likelihood that a favored constraint will be successfully
5960-
/// resolved before any others.
5961-
void optimizeConstraints(Expr *e);
5962-
59635958
/// Determine if we've already explored too many paths in an
59645959
/// attempt to solve this expression.
59655960
std::pair<bool, SourceRange> isAlreadyTooComplex = {false, SourceRange()};

0 commit comments

Comments
 (0)