[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

@@ -1635,8 +1635,8 @@ public:
for (auto reqt : nomGenericSig.getRequirements()) {
auto firstTy = reqt.getFirstType().subst(substGPMap);
switch (auto kind = reqt.getKind()) {
case RequirementKind::SameCount:
llvm_unreachable("Same-count requirement not supported here");
case RequirementKind::SameShape:
llvm_unreachable("Same-shape requirement not supported here");
case RequirementKind::SameType:
// Skip same-type constraints that define away primary generic params,