[Requirement] Rename RequirementKind::SameCount to SameShape.

This commit is contained in:
Holly Borla
2022-10-05 14:03:38 -07:00
parent fab5b7d364
commit 38a2c8218b
41 changed files with 128 additions and 128 deletions

View File

@@ -1119,7 +1119,7 @@ static bool hasNonSelfContainedRequirements(ArchetypeType *Archetype,
// FIXME: Second type of a superclass requirement may contain
// generic parameters.
continue;
case RequirementKind::SameCount:
case RequirementKind::SameShape:
case RequirementKind::SameType: {
// Check if this requirement contains more than one generic param.
// If this is the case, then these archetypes are interdependent and
@@ -1171,7 +1171,7 @@ static void collectRequirements(ArchetypeType *Archetype, GenericSignature Sig,
CurrentGP)
CollectedReqs.push_back(Req);
continue;
case RequirementKind::SameCount:
case RequirementKind::SameShape:
case RequirementKind::SameType: {
// Check if this requirement contains more than one generic param.
// If this is the case, then these archetypes are interdependent and