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
@@ -232,10 +232,10 @@ auto CarbonExternalASTSource::MapInstIdToClangDeclOrType(LookupResult lookup)
if (auto* callee_function = std::get_if<SemIR::CalleeFunction>(&callee)) {
return GetOrExportFunctionToCpp(*context_, SemIR::LocId(target_inst_id),
callee_function->function_id);
} else if (auto generic_class =
context_->insts().TryGetAs<SemIR::GenericClassType>(
} else if (auto param_class_type =
context_->insts().TryGetAs<SemIR::ParameterizedClassType>(
type_inst_id)) {
return ExportGenericClassToCpp(*context_, *generic_class);
return ExportParameterizedClassToCpp(*context_, *param_class_type);
}
return nullptr;