mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 09:11:05 +01:00
Switch TypeId::TypeType to TypeType::SingletonTypeId, and similar (#4619)
`ids.h` and `ids.cpp` are the manual edits, everything else is search-and-replace. The full list of things moved is: - `TypeId::TypeType` - `TypeId::AutoType` - `TypeId::Error` - `ConstantId::Error` This is to unblock removing `InstId::Builtin*`.
This commit is contained in:
@@ -307,8 +307,8 @@ auto HandleParseNode(Context& context, Parse::AddrId node_id) -> bool {
|
||||
context.insts().Get(param_pattern_id).type_id());
|
||||
if (pointer_type) {
|
||||
auto addr_pattern_id = context.AddPatternInst<SemIR::AddrPattern>(
|
||||
node_id,
|
||||
{.type_id = SemIR::TypeId::AutoType, .inner_id = param_pattern_id});
|
||||
node_id, {.type_id = SemIR::AutoType::SingletonTypeId,
|
||||
.inner_id = param_pattern_id});
|
||||
context.node_stack().Push(node_id, addr_pattern_id);
|
||||
} else {
|
||||
CARBON_DIAGNOSTIC(
|
||||
|
||||
Reference in New Issue
Block a user