mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 19:58:11 +00:00
Use CRTP to eliminate per-type declarations of `None`. Note this adds `None` to a few that may not need it, but eliminates a lot off boilerplate. Note this leaves `GenericInstIndex::None` because it has a more complex construction. Also fix `InstId::InitTombstone` to be `NoneIndex - 1`