mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +01:00
Add MaybeUnformed(T) type. (#5989)
This type has the same object representation as `T`, but always uses a pointer type as its value representation. No other semantics are provided for it yet.
This commit is contained in:
@@ -521,6 +521,10 @@ class Stringifier {
|
||||
sem_ir_->specific_interfaces().Get(inst.query_specific_interface_id));
|
||||
}
|
||||
|
||||
auto StringifyInst(InstId /*inst_id*/, MaybeUnformedType inst) -> void {
|
||||
step_stack_->Push("<builtin MaybeUnformed(", inst.inner_id, ")>");
|
||||
}
|
||||
|
||||
auto StringifyInst(InstId /*inst_id*/, NameRef inst) -> void {
|
||||
*out_ << sem_ir_->names().GetFormatted(inst.name_id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user