mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] clean-up collectExistentialConformances
This commit is contained in:
@@ -853,8 +853,10 @@ public:
|
||||
ProtocolConformanceRef conformsToProtocol(Type sourceTy,
|
||||
ProtocolDecl *targetProtocol);
|
||||
|
||||
/// Collect the conformances of \c fromType each of the protocols of an
|
||||
/// Collect the conformances of \c fromType to each of the protocols of an
|
||||
/// existential type's layout.
|
||||
///
|
||||
/// See `TypeChecker::containsProtocol` for details on the boolean arguments.
|
||||
ArrayRef<ProtocolConformanceRef>
|
||||
collectExistentialConformances(CanType fromType, CanType existential,
|
||||
bool skipConditionalRequirements = true,
|
||||
|
||||
Reference in New Issue
Block a user