mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 12:20:27 +00:00
Rename `ReturnInfo` to `ReturnTypeInfo`. Move it and `InitRepr` into `type_info.h` alongside `ValueRepr`. Replace `ReturnSlot` with `InitRepr`, and extend `InitRepr` to be able to represent the incomplete-type case instead of CHECK-failing. Remove `has_return_slot` from `InitRepr` and instead only provide that as part of `ReturnTypeInfo`.
Toolchain
A design is currently maintained in Google Drive. It'll be migrated to markdown once we are confident in its stability.