Make namespace formatting more consistent with other declaration block instructions. (#3732)

List names vertically rather than horizontally.
This commit is contained in:
Richard Smith
2024-02-28 22:20:37 +00:00
committed by GitHub
parent 5f4e6c768a
commit 5543602a50
379 changed files with 2051 additions and 622 deletions
+4 -1
View File
@@ -32,7 +32,10 @@ fn Run() -> i32 {
// CHECK:STDOUT: }
// CHECK:STDOUT:
// CHECK:STDOUT: file {
// CHECK:STDOUT: package: <namespace> = namespace {.Class = %Class.decl, .Run = %Run} [template]
// CHECK:STDOUT: package: <namespace> = namespace {
// CHECK:STDOUT: .Class = %Class.decl
// CHECK:STDOUT: .Run = %Run
// CHECK:STDOUT: } [template]
// CHECK:STDOUT: %Class.decl = class_decl @Class {} [template = constants.%Class]
// CHECK:STDOUT: %G: <function> = fn_decl @G {
// CHECK:STDOUT: %n.loc17_12.1: i32 = param n