mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
Fix Cpp.void stringification to be consistent with other singletons (#6301)
I missed this in #6279, just fixing it. See `IntLiteralType` in typed_insts.h (or similar) for comparison.
This commit is contained in:
@@ -310,10 +310,6 @@ class Stringifier {
|
||||
step_stack_->PushInstId(inst.inner_id);
|
||||
}
|
||||
|
||||
auto StringifyInst(InstId /*inst_id*/, CppVoidType /*inst*/) -> void {
|
||||
*out_ << "Cpp.void";
|
||||
}
|
||||
|
||||
auto StringifyInst(InstId /*inst_id*/, CustomLayoutType inst) -> void {
|
||||
auto layout = sem_ir_->custom_layouts().Get(inst.layout_id);
|
||||
*out_ << "<size " << layout[CustomLayoutId::SizeIndex] << ", align "
|
||||
|
||||
Reference in New Issue
Block a user