[NFC] clean-up collectExistentialConformances

This commit is contained in:
Kavon Farvardin
2024-01-11 14:52:20 -08:00
parent 8516275bee
commit 30a4740962
2 changed files with 3 additions and 5 deletions

View File

@@ -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,