File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -128,11 +128,10 @@ class alignas(1 << TypeAlignInBits) GenericSignature final
128
128
void getSubstitutionMap (ArrayRef<Substitution> args,
129
129
SubstitutionMap &subMap) const ;
130
130
131
- using LookupConformanceFn =
132
- llvm::function_ref<auto (CanType dependentType,
133
- Type conformingReplacementType,
134
- ProtocolType *conformedProtocol)
135
- -> Optional<ProtocolConformanceRef>>;
131
+ using GenericFunction = auto (CanType canType, Type conformingReplacementType,
132
+ ProtocolType *conformedProtocol)
133
+ ->Optional <ProtocolConformanceRef>;
134
+ using LookupConformanceFn = llvm::function_ref<GenericFunction>;
136
135
137
136
// / Build an array of substitutions from an interface type substitution map,
138
137
// / using the given function to look up conformances.
Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ struct QueryTypeSubstitutionMap {
71
71
};
72
72
73
73
// / Function used to resolve conformances.
74
- using LookupConformanceFn
75
- = llvm::function_ref< auto (CanType dependentType ,
76
- Type conformingReplacementType,
77
- ProtocolType *conformedProtocol)
78
- -> Optional<ProtocolConformanceRef> >;
74
+ using GenericFunction = auto (CanType dependentType,
75
+ Type conformingReplacementType ,
76
+ ProtocolType *conformedProtocol)
77
+ ->Optional<ProtocolConformanceRef>;
78
+ using LookupConformanceFn = llvm::function_ref<GenericFunction >;
79
79
80
80
// / Functor class suitable for use as a \c LookupConformanceFn to look up a
81
81
// / conformance through a module.
You can’t perform that action at this time.
0 commit comments