mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-20 00:36:39 +00:00
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:
1 parent
5d442a5b0a
commit
62f1cc6a35
468 files changed
+32353
-32348
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user