mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 15:35:53 +01: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`