Skip to content

Commit c0f5777

Browse files
committed
[Clang][Type] Update result for test case
Increment in numbers of predefined TypeID affects the test case. Also added notes so others can triage the test case failure faster in the future.
1 parent a201ec6 commit c0f5777

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

clang/test/Modules/decl-params-determinisim.m

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,30 @@
2020

2121
/// Spot check entries to make sure they are in current ordering.
2222
/// op13 encodes the anonymous decl number which should be in order.
23+
24+
/// NOTE: This test case is on determinism of TypeID for function declaration.
25+
/// Change related to TypeID (or PredefinedTypeIDs) will affect the result and
26+
/// will require update for this test case.
27+
2328
// CHECK: <TYPE_FUNCTION_PROTO
2429
// CHECK-NEXT: <DECL_PARM_VAR
25-
// CHECK-SAME: op11=4024
26-
// CHECK-NEXT: <DECL_PARM_VAR
27-
// CHECK-SAME: op11=4032
28-
// CHECK-NEXT: <DECL_PARM_VAR
2930
// CHECK-SAME: op11=4040
3031
// CHECK-NEXT: <DECL_PARM_VAR
3132
// CHECK-SAME: op11=4048
33+
// CHECK-NEXT: <DECL_PARM_VAR
34+
// CHECK-SAME: op11=4056
35+
// CHECK-NEXT: <DECL_PARM_VAR
36+
// CHECK-SAME: op11=4064
3237

3338
/// Decl records start at 43
3439
// CHECK: <DECL_RECORD
35-
// CHECK-SAME: op9=4352
36-
// CHECK-NEXT: <DECL_RECORD
37-
// CHECK-SAME: op9=4360
38-
// CHECK-NEXT: <DECL_RECORD
3940
// CHECK-SAME: op9=4368
4041
// CHECK-NEXT: <DECL_RECORD
4142
// CHECK-SAME: op9=4376
43+
// CHECK-NEXT: <DECL_RECORD
44+
// CHECK-SAME: op9=4384
45+
// CHECK-NEXT: <DECL_RECORD
46+
// CHECK-SAME: op9=4392
4247

4348
//--- headers/a.h
4449
void f(struct A0 *a0,

0 commit comments

Comments
 (0)