mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-20 10:06:43 +00:00
Saves space since in most cases, we only need a `None` 32 bits index instead of a null 64 bits pointer. Based on discussions in [Carbon C++ Interop weekly](https://docs.google.com/document/d/1YlxEOJ0r-o19o19TCJbFl4Ln1U88yn_Vj23y1Hr5vTk/edit?tab=t.0#heading=h.23l56bt5xwlu) and Discord ([1](https://discord.com/channels/655572317891461132/768530752592805919/1375121180306047106), [2](https://discord.com/channels/655572317891461132/768530752592805919/1380575881050718469)). Note: Any `clang::DeclContext` is also a `clang::Decl`. Part of #4666.