mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove an overload of GenericSignature::getSubstitutions()
This commit is contained in:
@@ -201,17 +201,6 @@ public:
|
||||
Optional<ProtocolConformanceRef>
|
||||
lookupConformance(CanType depTy, ProtocolDecl *proto) const;
|
||||
|
||||
using GenericFunction = auto(CanType canType, Type conformingReplacementType,
|
||||
ProtocolType *conformedProtocol)
|
||||
->Optional<ProtocolConformanceRef>;
|
||||
using LookupConformanceFn = llvm::function_ref<GenericFunction>;
|
||||
|
||||
/// Build an array of substitutions from an interface type substitution map,
|
||||
/// using the given function to look up conformances.
|
||||
void getSubstitutions(TypeSubstitutionFn substitution,
|
||||
LookupConformanceFn lookupConformance,
|
||||
SmallVectorImpl<Substitution> &result) const;
|
||||
|
||||
/// Build an array of substitutions from an interface type substitution map,
|
||||
/// using the given function to look up conformances.
|
||||
void getSubstitutions(const SubstitutionMap &subMap,
|
||||
|
||||
Reference in New Issue
Block a user