AST: Move getReducedShape() from CSSimplify.cpp to a method on TypeBase

This commit is contained in:
Slava Pestov
2022-11-09 18:27:27 -05:00
parent 6d75fac3b7
commit 30a1211a3b
5 changed files with 76 additions and 45 deletions

View File

@@ -2927,7 +2927,7 @@ namespace {
return;
if (auto archetype = type->getAs<PackArchetypeType>()) {
shapeType = archetype->getShape();
shapeType = archetype->getReducedShape();
}
});