@@ -55,11 +55,11 @@ fn G(x: Cpp.X) {
5555// CHECK:STDOUT: entity_name1: {name: name2, parent_scope: name_scope<none>, index: -1, is_template: 0, clang_decl_id: clang_decl_id<none>}
5656// CHECK:STDOUT: entity_name2: {name: name2, parent_scope: name_scope<none>, index: -1, is_template: 0, clang_decl_id: clang_decl_id<none>}
5757// CHECK:STDOUT: functions:
58- // CHECK:STDOUT: function0: {name: name1, parent_scope: name_scope0, call_params_id: inst_block6, body: [inst_block9]}
59- // CHECK:STDOUT: function1: {name: name4, parent_scope: name_scope1, call_params_id: inst_block_empty}
60- // CHECK:STDOUT: function2: {name: name6, parent_scope: name_scope1, call_params_id: inst_block_empty}
61- // CHECK:STDOUT: function3: {name: name4, parent_scope: name_scope1, call_params_id: inst_block13}
62- // CHECK:STDOUT: function4: {name: name6, parent_scope: name_scope1, call_params_id: inst_block18}
58+ // CHECK:STDOUT: function60000000: {name: name1, parent_scope: name_scope0, call_params_id: inst_block6, body: [inst_block9]}
59+ // CHECK:STDOUT: function60000001: {name: name4, parent_scope: name_scope1, call_params_id: inst_block_empty}
60+ // CHECK:STDOUT: function60000002: {name: name6, parent_scope: name_scope1, call_params_id: inst_block_empty}
61+ // CHECK:STDOUT: function60000003: {name: name4, parent_scope: name_scope1, call_params_id: inst_block13}
62+ // CHECK:STDOUT: function60000004: {name: name6, parent_scope: name_scope1, call_params_id: inst_block18}
6363// CHECK:STDOUT: classes:
6464// CHECK:STDOUT: class60000000: {name: name3, parent_scope: name_scope1, self_type_id: type(inst60000013), inheritance_kind: Base, is_dynamic: 0, scope_id: name_scope2, body_block_id: inst_block10, adapt_id: inst<none>, base_id: inst<none>, complete_type_witness_id: inst60000021, vtable_decl_id: inst<none>}}
6565// CHECK:STDOUT: generics: {}
@@ -125,8 +125,8 @@ fn G(x: Cpp.X) {
125125// CHECK:STDOUT: inst60000018: {kind: ValueParamPattern, arg0: inst60000017, arg1: call_param0, type: type(inst60000016)}
126126// CHECK:STDOUT: inst60000019: {kind: ValueParam, arg0: call_param0, arg1: name2, type: type(inst60000013)}
127127// CHECK:STDOUT: inst6000001A: {kind: SpliceBlock, arg0: inst_block4, arg1: inst60000014, type: type(TypeType)}
128- // CHECK:STDOUT: inst6000001B: {kind: FunctionDecl, arg0: function0 , arg1: inst_block8, type: type(inst6000001C)}
129- // CHECK:STDOUT: inst6000001C: {kind: FunctionType, arg0: function0 , arg1: specific<none>, type: type(TypeType)}
128+ // CHECK:STDOUT: inst6000001B: {kind: FunctionDecl, arg0: function60000000 , arg1: inst_block8, type: type(inst6000001C)}
129+ // CHECK:STDOUT: inst6000001C: {kind: FunctionType, arg0: function60000000 , arg1: specific<none>, type: type(TypeType)}
130130// CHECK:STDOUT: inst6000001D: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
131131// CHECK:STDOUT: inst6000001E: {kind: StructValue, arg0: inst_block_empty, type: type(inst6000001C)}
132132// CHECK:STDOUT: inst6000001F: {kind: CustomLayoutType, arg0: struct_type_fields0, arg1: custom_layout1, type: type(TypeType)}
@@ -139,11 +139,11 @@ fn G(x: Cpp.X) {
139139// CHECK:STDOUT: inst60000026: {kind: CppOverloadSetValue, arg0: cpp_overload_set60000000, type: type(inst60000025)}
140140// CHECK:STDOUT: inst60000027: {kind: CppOverloadSetValue, arg0: cpp_overload_set60000000, type: type(inst60000025)}
141141// CHECK:STDOUT: inst60000028: {kind: NameRef, arg0: name4, arg1: inst60000026, type: type(inst60000025)}
142- // CHECK:STDOUT: inst60000029: {kind: FunctionDecl, arg0: function1 , arg1: inst_block_empty, type: type(inst6000002A)}
143- // CHECK:STDOUT: inst6000002A: {kind: FunctionType, arg0: function1 , arg1: specific<none>, type: type(TypeType)}
142+ // CHECK:STDOUT: inst60000029: {kind: FunctionDecl, arg0: function60000001 , arg1: inst_block_empty, type: type(inst6000002A)}
143+ // CHECK:STDOUT: inst6000002A: {kind: FunctionType, arg0: function60000001 , arg1: specific<none>, type: type(TypeType)}
144144// CHECK:STDOUT: inst6000002B: {kind: StructValue, arg0: inst_block_empty, type: type(inst6000002A)}
145- // CHECK:STDOUT: inst6000002C: {kind: FunctionDecl, arg0: function2 , arg1: inst_block_empty, type: type(inst6000002D)}
146- // CHECK:STDOUT: inst6000002D: {kind: FunctionType, arg0: function2 , arg1: specific<none>, type: type(TypeType)}
145+ // CHECK:STDOUT: inst6000002C: {kind: FunctionDecl, arg0: function60000002 , arg1: inst_block_empty, type: type(inst6000002D)}
146+ // CHECK:STDOUT: inst6000002D: {kind: FunctionType, arg0: function60000002 , arg1: specific<none>, type: type(TypeType)}
147147// CHECK:STDOUT: inst6000002E: {kind: StructValue, arg0: inst_block_empty, type: type(inst6000002D)}
148148// CHECK:STDOUT: inst6000002F: {kind: Call, arg0: inst6000002C, arg1: inst_block_empty, type: type(inst6000001D)}
149149// CHECK:STDOUT: inst60000030: {kind: NameRef, arg0: name0, arg1: inst60000010, type: type(inst(NamespaceType))}
@@ -153,17 +153,17 @@ fn G(x: Cpp.X) {
153153// CHECK:STDOUT: inst60000034: {kind: BindingPattern, arg0: entity_name1, type: type(inst60000016)}
154154// CHECK:STDOUT: inst60000035: {kind: ValueParamPattern, arg0: inst60000034, arg1: call_param0, type: type(inst60000016)}
155155// CHECK:STDOUT: inst60000036: {kind: ValueParam, arg0: call_param0, arg1: name2, type: type(inst60000013)}
156- // CHECK:STDOUT: inst60000037: {kind: FunctionDecl, arg0: function3 , arg1: inst_block15, type: type(inst60000038)}
157- // CHECK:STDOUT: inst60000038: {kind: FunctionType, arg0: function3 , arg1: specific<none>, type: type(TypeType)}
156+ // CHECK:STDOUT: inst60000037: {kind: FunctionDecl, arg0: function60000003 , arg1: inst_block15, type: type(inst60000038)}
157+ // CHECK:STDOUT: inst60000038: {kind: FunctionType, arg0: function60000003 , arg1: specific<none>, type: type(TypeType)}
158158// CHECK:STDOUT: inst60000039: {kind: StructValue, arg0: inst_block_empty, type: type(inst60000038)}
159159// CHECK:STDOUT: inst6000003A: {kind: PointerType, arg0: inst60000013, type: type(TypeType)}
160160// CHECK:STDOUT: inst6000003B: {kind: BindName, arg0: entity_name2, arg1: inst6000003F, type: type(inst6000003A)}
161161// CHECK:STDOUT: inst6000003C: {kind: PatternType, arg0: inst6000003A, type: type(TypeType)}
162162// CHECK:STDOUT: inst6000003D: {kind: BindingPattern, arg0: entity_name2, type: type(inst6000003C)}
163163// CHECK:STDOUT: inst6000003E: {kind: ValueParamPattern, arg0: inst6000003D, arg1: call_param0, type: type(inst6000003C)}
164164// CHECK:STDOUT: inst6000003F: {kind: ValueParam, arg0: call_param0, arg1: name2, type: type(inst6000003A)}
165- // CHECK:STDOUT: inst60000040: {kind: FunctionDecl, arg0: function4 , arg1: inst_block20, type: type(inst60000041)}
166- // CHECK:STDOUT: inst60000041: {kind: FunctionType, arg0: function4 , arg1: specific<none>, type: type(TypeType)}
165+ // CHECK:STDOUT: inst60000040: {kind: FunctionDecl, arg0: function60000004 , arg1: inst_block20, type: type(inst60000041)}
166+ // CHECK:STDOUT: inst60000041: {kind: FunctionType, arg0: function60000004 , arg1: specific<none>, type: type(TypeType)}
167167// CHECK:STDOUT: inst60000042: {kind: StructValue, arg0: inst_block_empty, type: type(inst60000041)}
168168// CHECK:STDOUT: inst60000043: {kind: ValueAsRef, arg0: inst60000032, type: type(inst60000013)}
169169// CHECK:STDOUT: inst60000044: {kind: AddrOf, arg0: inst60000043, type: type(inst6000003A)}
0 commit comments