Files
carbon-lang/toolchain
Richard Smith ead4dbbbe3 Refactor SemIR::InstNamer (#3690)
- Rename `ScopeIndex` to `ScopeId`, because the order is not meaningful.
This avoids collisions with `SemIR::ScopeIndex`.
- Change `GetScopeFor` to use an `if constexpr` chain rather than
duplicating the numbering logic across multiple functions.
- Simplify `GetNameFor`, avoiding multiple identical overloads.

As requested in review of #3683.
2024-02-06 01:56:04 +00:00
..
2024-02-06 01:56:04 +00:00
2023-11-28 18:46:19 +00:00

Toolchain

A design is currently maintained in Google Drive. It'll be migrated to markdown once we are confident in its stability.