Rename GenericClassType to ParameterizedClassType (#7953)

The old name was potentially confusing, because non-parameterized
generic classes do not use this inst kind.
This commit is contained in:
Geoff Romer authored and GitHub committed 2026-10-11 23:09:12 +00:00
1 parent 5d442a5b0a
commit 62f1cc6a35
468 files changed
+32353 -32348

No files matched your search

+3 -3
View File
@@ -30,9 +30,9 @@ namespace Carbon::Check {
static auto IsTemplateArg(Context& context, SemIR::InstId arg_id) -> bool {
auto arg_type_id = context.insts().Get(arg_id).type_id();
auto arg_type = context.types().GetAsInst(arg_type_id);
return arg_type.IsOneOf<SemIR::FacetType, SemIR::CppTemplateNameType,
SemIR::GenericClassType, SemIR::GenericInterfaceType,
SemIR::GenericNamedConstraintType>();
return arg_type.IsOneOf<
SemIR::FacetType, SemIR::CppTemplateNameType, SemIR::GenericInterfaceType,
SemIR::GenericNamedConstraintType, SemIR::ParameterizedClassType>();
}
// Splits a call argument list into a list of template arguments followed by a