Collapse empty braces onto a single line. (#3733)

Don't write out `.members` section at all if it's empty.
This commit is contained in:
Richard Smith
2024-02-28 23:21:43 +00:00
committed by GitHub
parent 5543602a50
commit a6f4752a7b
90 changed files with 313 additions and 502 deletions
+1 -2
View File
@@ -11,6 +11,5 @@ var a: [i32; ];
// CHECK:STDOUT: --- fail_undefined_bound.carbon
// CHECK:STDOUT:
// CHECK:STDOUT: file {
// CHECK:STDOUT: }
// CHECK:STDOUT: file {}
// CHECK:STDOUT: