mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SILGen: Substitute away opaque types.
This commit is contained in:
@@ -106,8 +106,14 @@ public:
|
||||
/// Apply a substitution to the conforming type.
|
||||
ProtocolConformanceRef subst(Type origType,
|
||||
TypeSubstitutionFn subs,
|
||||
LookupConformanceFn conformances) const;
|
||||
LookupConformanceFn conformances,
|
||||
SubstOptions options = None) const;
|
||||
|
||||
/// Replace opaque types in the conforming type with their underlying types,
|
||||
/// and resolve opaque conformances to their underlying conformances.
|
||||
ProtocolConformanceRef substOpaqueTypesWithUnderlyingTypes(Type origType,
|
||||
ResilienceExpansion expansion) const;
|
||||
|
||||
/// Given a dependent type (expressed in terms of this conformance's
|
||||
/// protocol), follow it from the conforming type.
|
||||
Type getAssociatedType(Type origType, Type dependentType,
|
||||
|
||||
Reference in New Issue
Block a user