mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-18 13:50:31 +00:00
- 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.
Toolchain
A design is currently maintained in Google Drive. It'll be migrated to markdown once we are confident in its stability.