Skip to content

Commit 52b415e

Browse files
committed
Sema: Remove unused method
1 parent 26eaf75 commit 52b415e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

include/swift/Sema/ConstraintSystem.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3627,16 +3627,6 @@ class ConstraintSystem {
36273627
});
36283628
}
36293629

3630-
bool
3631-
hasConversionRestriction(Type type1, Type type2,
3632-
ConversionRestrictionKind restrictionKind) const {
3633-
auto restriction =
3634-
ConstraintRestrictions.find({type1.getPointer(), type2.getPointer()});
3635-
return restriction == ConstraintRestrictions.end()
3636-
? false
3637-
: restriction->second == restrictionKind;
3638-
}
3639-
36403630
/// If an UnresolvedDotExpr, SubscriptMember, etc has been resolved by the
36413631
/// constraint system, return the decl that it references.
36423632
ValueDecl *findResolvedMemberRef(ConstraintLocator *locator);

0 commit comments

Comments
 (0)