mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:30:12 +01:00
Following #6357, map C++ `void` to a prelude class type `Core.CppCompat.VoidBase`, not to a builtin type. This is mostly just moving logic around, but does notably change `Cpp.void` from being an incomplete type to being a complete-but-abstract type. Also change `NullptrT` to be an adapter for `void*` instead of `()*`, to follow the approved design. Implicit conversions to `void` and to `void*` are still absent. Part of #6280.