Richard Smith
a74ca9071b
Remove all remaining uses of TypeIds as instruction operands. ( #5280 )
...
In preparation for shifting from `TypeId`s potentially representing
attached types to always representing unattached types, using
[terminology suggested on
Discord](https://discord.com/channels/655572317891461132/963846118964350976/1359286326779973712 ).
This change causes us to track slightly more type spelling information
through SemIR.
One change that has significant impact on the SemIR output is that we
now build a `struct_type` instruction in each class representing the
types of the fields, including the spelling used for those types. This
is now no longer always identical to the corresponding canonical
`struct_type` for the object representation, so it's built separately
and owned by the class.
Also remove `TypeBlock` support entirely, as its only use was
representing `TupleType`s, which now use an `InstBlock`.
2025-04-10 20:53:42 +00:00
..
2025-02-20 22:42:47 +00:00
2025-04-10 20:53:42 +00:00
2025-04-10 20:53:42 +00:00
2025-04-10 20:53:42 +00:00
2025-04-10 19:15:27 +00:00
2025-04-02 21:51:25 +00:00
2025-01-27 23:48:44 +00:00
2025-04-02 21:51:25 +00:00
2025-04-02 21:51:25 +00:00
2025-03-27 00:41:30 +00:00
2025-03-27 00:41:30 +00:00
2025-04-10 20:53:42 +00:00
2025-04-10 20:53:42 +00:00
2025-03-27 00:41:30 +00:00
2025-04-10 20:53:42 +00:00
2025-03-28 00:29:17 +00:00
2025-03-28 00:29:17 +00:00
2025-04-10 20:53:42 +00:00
2025-04-05 06:11:34 +00:00
2025-03-01 07:56:04 +00:00
2025-03-27 18:14:26 +00:00
2025-03-21 22:26:08 +00:00
2025-04-10 20:53:42 +00:00
2025-03-14 00:44:51 +00:00
2024-11-20 20:58:58 +00:00
2024-11-20 20:58:58 +00:00
2025-04-10 19:15:27 +00:00
2025-03-27 00:41:30 +00:00
2025-04-10 19:15:27 +00:00
2025-04-10 20:53:42 +00:00
2025-04-10 20:53:42 +00:00
2025-04-08 21:04:30 +00:00
2025-04-10 20:53:42 +00:00
2025-04-08 21:04:30 +00:00
2025-04-10 19:15:27 +00:00
2025-04-02 01:46:27 +00:00
2025-03-04 21:01:59 +00:00
2025-02-27 17:01:29 +00:00
2025-02-27 17:01:29 +00:00
2025-03-01 07:56:04 +00:00
2025-03-28 15:14:02 +00:00
2025-03-26 22:53:32 +00:00
2025-03-18 23:49:24 +00:00
2025-02-14 19:44:36 +00:00
2025-04-03 21:14:03 +00:00
2025-04-08 22:21:44 +00:00
2024-12-02 18:51:44 +00:00
2025-04-10 20:53:42 +00:00
2025-04-10 08:15:12 +00:00
2025-03-05 21:55:30 +00:00
2025-04-02 21:51:25 +00:00
2025-02-12 00:21:07 +00:00
2025-02-14 19:44:36 +00:00
2025-04-10 13:48:49 +00:00
2025-02-11 21:33:57 +00:00
2025-04-03 21:14:03 +00:00
2025-04-07 22:41:27 +00:00
2025-03-28 00:29:17 +00:00
2025-03-26 19:12:10 +00:00
2025-02-14 19:44:36 +00:00
2025-02-15 01:36:46 +00:00
2025-04-02 22:52:11 +00:00
2025-03-21 21:45:53 +00:00
2024-12-18 00:19:12 +00:00
2025-04-03 21:14:03 +00:00
2025-04-10 20:53:42 +00:00
2025-04-10 20:53:42 +00:00
2025-04-10 20:53:42 +00:00
2025-02-27 00:21:01 +00:00
2025-04-10 13:48:49 +00:00
2025-04-10 13:48:49 +00:00
2025-04-10 13:48:49 +00:00
2025-04-10 13:48:49 +00:00
2025-04-10 20:53:42 +00:00
2025-03-03 10:38:19 +00:00
2025-04-10 20:53:42 +00:00
2025-02-19 07:19:23 +00:00
2025-03-26 19:12:10 +00:00
2025-03-15 20:41:48 +00:00
2025-03-21 23:09:37 +00:00
2025-01-23 02:21:48 +00:00
2025-04-08 21:04:30 +00:00
2025-04-08 21:04:30 +00:00
2025-04-08 00:40:21 +00:00
2025-03-12 13:54:49 +00:00
2025-01-25 02:13:52 +00:00
2024-11-04 04:00:17 +00:00
2025-02-14 19:44:36 +00:00
2024-12-03 18:46:27 +00:00
2025-04-10 20:53:42 +00:00
2025-04-05 16:08:09 +00:00
2025-04-02 22:52:11 +00:00
2025-02-27 17:01:29 +00:00
2025-03-27 00:41:30 +00:00
2024-10-17 22:47:40 +00:00
2025-03-18 00:31:17 +00:00
2025-01-22 23:15:00 +00:00
2025-04-07 20:45:45 +00:00
2025-02-19 07:19:23 +00:00
2025-03-28 16:24:17 +00:00
2025-03-28 16:24:17 +00:00
2025-02-07 22:35:18 +00:00
2025-03-14 20:16:01 +00:00
2025-02-26 18:44:36 +00:00
2025-02-26 18:44:36 +00:00
2025-02-25 02:07:43 +00:00
2025-04-10 20:53:42 +00:00
2025-01-23 02:21:48 +00:00
2025-03-28 16:24:11 +00:00
2025-04-03 21:14:03 +00:00
2025-03-01 07:56:04 +00:00
2025-02-26 18:44:36 +00:00
2025-01-17 17:51:34 +00:00
2025-03-01 08:00:17 +00:00
2025-04-08 15:37:52 +00:00
2025-03-28 00:29:17 +00:00
2025-03-21 23:09:37 +00:00
2025-02-20 03:17:45 +00:00
2025-04-10 20:53:42 +00:00
2025-03-25 22:53:25 +00:00
2025-04-10 20:53:42 +00:00
2025-04-02 01:46:27 +00:00
2025-04-10 20:53:42 +00:00
2025-04-08 19:02:55 +00:00
2025-04-10 20:53:42 +00:00
2025-04-10 20:53:42 +00:00