mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ConstraintSystem] NFC: Extract Swift -> C pointer conversion simplification into a separate method
This commit is contained in:
@@ -4872,6 +4872,12 @@ public: // FIXME: Public for use by static functions.
|
||||
TypeMatchOptions flags,
|
||||
ConstraintLocatorBuilder locator);
|
||||
|
||||
/// Simplify a conversion between Swift and C pointers.
|
||||
SolutionKind
|
||||
simplifyPointerToCPointerRestriction(Type type1, Type type2,
|
||||
TypeMatchOptions flags,
|
||||
ConstraintLocatorBuilder locator);
|
||||
|
||||
public:
|
||||
/// Simplify the system of constraints, by breaking down complex
|
||||
/// constraints into simpler constraints.
|
||||
|
||||
Reference in New Issue
Block a user