Richard Smith
cb5e2e1597
Improve support for qualification conversions. ( #5999 )
...
* Treat `MaybeUnformed` and `partial` as qualifiers, like `const`.
* Allow pointer conversions to add qualifiers.
* Allow unsafe pointer conversions to remove qualifiers.
* Allow conversions on non-reference expressions to drop `const`.
* Allow unsafe conversions on any expression to drop `const`.
* Allow unsafe conversions on non-initializing expressions to drop
`partial`. For initializing expressions, we should initialize the
vptr when dropping `partial`; this is not yet supported so we reject.
* Allow conversions on reference expressions to add `MaybeUnformed`.
* Allow unsafe conversions on reference expressions to drop
`MaybeUnformed`. For non-reference expressions, additional work is
required, because the value / initializing representation may not
match between `T` and `MaybeUnformed(T)`, so those are rejected for
now.
2025-09-03 21:00:12 +00:00
..
2025-08-26 00:33:12 +00:00
2025-08-20 18:30:11 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 16:27:07 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 23:27:03 +00:00
2025-08-12 16:27:07 +00:00
2025-08-12 00:10:43 +00:00
2025-08-20 18:30:11 +00:00
2025-06-25 21:03:15 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 18:30:11 +00:00
2025-08-12 00:10:43 +00:00
2025-06-17 21:10:04 +00:00
2025-08-12 00:10:43 +00:00
2025-06-17 21:10:04 +00:00
2025-09-03 21:00:12 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-08-12 00:10:43 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-06-17 21:10:04 +00:00
2025-08-12 16:27:07 +00:00
2025-08-12 16:27:07 +00:00
2025-06-17 21:10:04 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 18:30:11 +00:00
2025-08-12 00:10:43 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 18:30:11 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-06 23:55:05 +00:00
2025-08-12 00:10:43 +00:00
2025-06-18 20:45:46 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-06 23:55:05 +00:00
2025-08-04 19:39:22 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 16:27:07 +00:00
2025-08-20 18:30:11 +00:00
2025-08-12 00:10:43 +00:00
2025-08-20 18:30:11 +00:00