Files
carbon-lang/toolchain/sem_ir
Richard Smith 31919afa24 Allow conversion between T* and Cpp.void*. (#6575)
Support an implicit conversion from `T*` to `Cpp.void*` and to `const
Cpp.void*`, and an `unsafe as` conversion in the opposite direction.

In order to support C++ calls taking and returning `void*` (which get
mapped to Carbon `Optional(Cpp.void*)`, also support conversions from
`Optional(T)` to `Optional(U)` if there's a conversion from `T` to `U`.

Fix a bug in `OptionalStorage` for `T*` where its `HasValue` was exactly
backwards.
2026-01-12 16:32:15 +00:00
..
2025-05-19 14:57:13 +00:00
2026-01-08 18:55:53 +00:00
2026-01-08 18:55:53 +00:00
2026-01-08 18:55:53 +00:00
2026-01-08 18:55:53 +00:00
2025-12-16 18:16:45 +00:00
2025-12-16 18:16:45 +00:00
2025-11-18 19:48:58 +00:00
2026-01-08 18:55:53 +00:00