mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 13:21:18 +00:00
Make namespace formatting more consistent with other declaration block instructions. (#3732)
List names vertically rather than horizontally.
This commit is contained in:
1 parent
5f4e6c768a
commit
5543602a50
379 files changed
+2051
-622
No files matched your search
+8
-5
@@ -23,7 +23,10 @@ interface ForwardDeclared {
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: file {
|
||||
// CHECK:STDOUT: package: <namespace> = namespace {.Empty = %Empty.decl, .ForwardDeclared = %ForwardDeclared.decl.loc10} [template]
|
||||
// CHECK:STDOUT: package: <namespace> = namespace {
|
||||
// CHECK:STDOUT: .Empty = %Empty.decl
|
||||
// CHECK:STDOUT: .ForwardDeclared = %ForwardDeclared.decl.loc10
|
||||
// CHECK:STDOUT: } [template]
|
||||
// CHECK:STDOUT: %Empty.decl = interface_decl @Empty {} [template = constants.%.1]
|
||||
// CHECK:STDOUT: %ForwardDeclared.decl.loc10 = interface_decl @ForwardDeclared {} [template = constants.%.2]
|
||||
// CHECK:STDOUT: %ForwardDeclared.decl.loc12 = interface_decl @ForwardDeclared {} [template = constants.%.2]
|
||||
@@ -32,8 +35,8 @@ interface ForwardDeclared {
|
||||
// CHECK:STDOUT: interface @Empty {
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: !members:
|
||||
// CHECK:STDOUT: witness = ()
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: witness = ()}
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: interface @ForwardDeclared {
|
||||
// CHECK:STDOUT: %F: <function> = fn_decl @F {} [template]
|
||||
@@ -41,8 +44,8 @@ interface ForwardDeclared {
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: !members:
|
||||
// CHECK:STDOUT: .F = %.loc13
|
||||
// CHECK:STDOUT: witness = (%F)
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: witness = (%F)}
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: fn @F();
|
||||
// CHECK:STDOUT:
|
||||
Reference in new issue
Block a user