Add category to parameter format, and share some code. (#6730)

This commit is contained in:
Geoff Romer
2026-02-13 22:20:05 +00:00
committed by GitHub
parent 611aba3cc2
commit 3c324e4877
180 changed files with 506 additions and 501 deletions
@@ -367,9 +367,9 @@ fn F() {
// CHECK:STDOUT:
// CHECK:STDOUT: fn @initializer_list.initializer_list.loc12(%_.param: %array_type) -> out %return.param: %initializer_list = "cpp.std.initializer_list.make";
// CHECK:STDOUT:
// CHECK:STDOUT: fn @DestroyOp.loc12_44.1(%self.param: %InitListConstructor) = "no_op";
// CHECK:STDOUT: fn @DestroyOp.loc12_44.1(%self.param: ref %InitListConstructor) = "no_op";
// CHECK:STDOUT:
// CHECK:STDOUT: fn @DestroyOp.loc12_44.2(%self.param: %initializer_list) = "no_op";
// CHECK:STDOUT: fn @DestroyOp.loc12_44.2(%self.param: ref %initializer_list) = "no_op";
// CHECK:STDOUT:
// CHECK:STDOUT: fn @DestroyOp.loc12_44.3(%self.param: %array_type) = "no_op";
// CHECK:STDOUT: fn @DestroyOp.loc12_44.3(%self.param: ref %array_type) = "no_op";
// CHECK:STDOUT: