File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -2277,13 +2277,6 @@ bool ConstraintSystem::solveSimplified(
2277
2277
DisjunctionChoices.push_back ({locator, index});
2278
2278
}
2279
2279
2280
- // Determine whether we're handling a favored constraint in subsystem.
2281
- const bool willBeHandlingFavoredConstraint
2282
- = constraint->isFavored () || HandlingFavoredConstraint;
2283
- llvm::SaveAndRestore<bool > handlingFavoredConstraint (
2284
- HandlingFavoredConstraint,
2285
- willBeHandlingFavoredConstraint);
2286
-
2287
2280
// Simplify this term in the disjunction.
2288
2281
switch (simplifyConstraint (*constraint)) {
2289
2282
case SolutionKind::Error:
Original file line number Diff line number Diff line change @@ -893,10 +893,6 @@ class ConstraintSystem {
893
893
// / solution it represents.
894
894
Score CurrentScore;
895
895
896
- // / Whether this constraint system is processing a favored
897
- // / constraint.
898
- bool HandlingFavoredConstraint = false ;
899
-
900
896
SmallVector<TypeVariableType *, 16 > TypeVariables;
901
897
902
898
// / Maps expressions to types for choosing a favored overload
You can’t perform that action at this time.
0 commit comments