mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-18 23:30:28 +00:00
Rename singleton InstId constants to TypeInstId (#5323)
These constant instructions are all TypeInstId already in their type, and this makes their names match. Change the name of MakeSingletonInstId as well and update its comment.
This commit is contained in:
1 parent
bf32da8dad
commit
c38e723dd8
26 files changed
+113
-104
No files matched your search
@@ -49,7 +49,7 @@ auto HandleParseNode(Context& context, Parse::ArrayExprId node_id) -> bool {
|
||||
|
||||
bound_inst_id = ConvertToValueOfType(
|
||||
context, context.insts().GetLocId(bound_inst_id), bound_inst_id,
|
||||
GetSingletonType(context, SemIR::IntLiteralType::InstId));
|
||||
GetSingletonType(context, SemIR::IntLiteralType::TypeInstId));
|
||||
AddInstAndPush<SemIR::ArrayType>(
|
||||
context, node_id,
|
||||
{.type_id = SemIR::TypeType::TypeId,
|
||||
|
||||
Reference in new issue
Block a user