Skip to content

Commit e215c4c

Browse files
committed
C++: Accept test changes after frontend update
The location of a reference dereference has changed slightly.
1 parent efe23c1 commit e215c4c

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

cpp/ql/test/library-tests/exprs/value_categories/value_categories.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| value_categories.cpp:38:5:38:5 | (reference dereference) | int | lvalue |
88
| value_categories.cpp:38:5:38:9 | ... = ... | int | lvalue |
99
| value_categories.cpp:42:12:42:12 | (reference dereference) | int | lvalue |
10-
| value_categories.cpp:52:19:52:33 | (reference dereference) | int | xvalue |
10+
| value_categories.cpp:52:31:52:33 | (reference dereference) | int | xvalue |
1111
| value_categories.cpp:57:5:57:6 | (reference dereference) | int | lvalue |
1212
| value_categories.cpp:57:5:57:10 | ... = ... | int | lvalue |
1313
| value_categories.cpp:62:12:62:33 | static_cast<int>... | int | xvalue |

cpp/ql/test/library-tests/ir/ir/operand_locations.expected

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3140,9 +3140,9 @@
31403140
| ir.cpp:688:24:688:38 | ChiTotal | total:m685_4 |
31413141
| ir.cpp:688:24:688:38 | SideEffect | ~m685_4 |
31423142
| ir.cpp:688:24:688:38 | Unary | r688_3 |
3143-
| ir.cpp:688:24:688:41 | StoreValue | r688_8 |
3144-
| ir.cpp:688:24:688:41 | Unary | r688_6 |
3145-
| ir.cpp:688:24:688:41 | Unary | r688_7 |
3143+
| ir.cpp:688:39:688:41 | StoreValue | r688_8 |
3144+
| ir.cpp:688:39:688:41 | Unary | r688_6 |
3145+
| ir.cpp:688:39:688:41 | Unary | r688_7 |
31463146
| ir.cpp:691:6:691:20 | ChiPartial | partial:m691_3 |
31473147
| ir.cpp:691:6:691:20 | ChiTotal | total:m691_2 |
31483148
| ir.cpp:691:6:691:20 | SideEffect | m691_3 |
@@ -7393,8 +7393,8 @@
73937393
| ir.cpp:1594:42:1594:47 | ChiTotal | total:m1587_6 |
73947394
| ir.cpp:1594:42:1594:47 | SideEffect | ~m1587_6 |
73957395
| ir.cpp:1594:42:1594:47 | Unary | r1594_4 |
7396-
| ir.cpp:1594:42:1594:50 | StoreValue | r1594_11 |
7397-
| ir.cpp:1594:42:1594:50 | Unary | r1594_10 |
7396+
| ir.cpp:1594:48:1594:50 | StoreValue | r1594_11 |
7397+
| ir.cpp:1594:48:1594:50 | Unary | r1594_10 |
73987398
| ir.cpp:1595:15:1595:15 | Address | &:r1595_1 |
73997399
| ir.cpp:1595:19:1595:40 | Address | &:r1595_2 |
74007400
| ir.cpp:1595:19:1595:40 | Address | &:r1595_2 |
@@ -7407,8 +7407,8 @@
74077407
| ir.cpp:1595:42:1595:47 | ChiTotal | total:m1594_6 |
74087408
| ir.cpp:1595:42:1595:47 | SideEffect | ~m1594_6 |
74097409
| ir.cpp:1595:42:1595:47 | Unary | r1595_4 |
7410-
| ir.cpp:1595:42:1595:50 | StoreValue | r1595_11 |
7411-
| ir.cpp:1595:42:1595:50 | Unary | r1595_10 |
7410+
| ir.cpp:1595:48:1595:50 | StoreValue | r1595_11 |
7411+
| ir.cpp:1595:48:1595:50 | Unary | r1595_10 |
74127412
| ir.cpp:1596:15:1596:15 | Address | &:r1596_1 |
74137413
| ir.cpp:1596:19:1596:40 | Address | &:r1596_2 |
74147414
| ir.cpp:1596:19:1596:40 | Address | &:r1596_2 |
@@ -7421,8 +7421,8 @@
74217421
| ir.cpp:1596:42:1596:47 | ChiTotal | total:m1595_6 |
74227422
| ir.cpp:1596:42:1596:47 | SideEffect | ~m1595_6 |
74237423
| ir.cpp:1596:42:1596:47 | Unary | r1596_4 |
7424-
| ir.cpp:1596:42:1596:50 | StoreValue | r1596_11 |
7425-
| ir.cpp:1596:42:1596:50 | Unary | r1596_10 |
7424+
| ir.cpp:1596:48:1596:50 | StoreValue | r1596_11 |
7425+
| ir.cpp:1596:48:1596:50 | Unary | r1596_10 |
74267426
| ir.cpp:1597:9:1597:9 | Address | &:r1597_2 |
74277427
| ir.cpp:1597:9:1597:9 | Address | &:r1597_4 |
74287428
| ir.cpp:1597:9:1597:9 | Load | m1595_12 |
@@ -7663,8 +7663,8 @@
76637663
| ir.cpp:1661:42:1661:47 | ChiTotal | total:m1660_9 |
76647664
| ir.cpp:1661:42:1661:47 | SideEffect | ~m1660_9 |
76657665
| ir.cpp:1661:42:1661:47 | Unary | r1661_6 |
7666-
| ir.cpp:1661:42:1661:50 | StoreValue | r1661_13 |
7667-
| ir.cpp:1661:42:1661:50 | Unary | r1661_12 |
7666+
| ir.cpp:1661:48:1661:50 | StoreValue | r1661_13 |
7667+
| ir.cpp:1661:48:1661:50 | Unary | r1661_12 |
76687668
| ir.cpp:1662:16:1662:17 | Address | &:r1662_1 |
76697669
| ir.cpp:1662:21:1662:42 | Address | &:r1662_2 |
76707670
| ir.cpp:1662:21:1662:42 | Address | &:r1662_4 |
@@ -7680,8 +7680,8 @@
76807680
| ir.cpp:1662:44:1662:49 | ChiTotal | total:m1661_8 |
76817681
| ir.cpp:1662:44:1662:49 | SideEffect | ~m1661_8 |
76827682
| ir.cpp:1662:44:1662:49 | Unary | r1662_6 |
7683-
| ir.cpp:1662:44:1662:52 | StoreValue | r1662_13 |
7684-
| ir.cpp:1662:44:1662:52 | Unary | r1662_12 |
7683+
| ir.cpp:1662:50:1662:52 | StoreValue | r1662_13 |
7684+
| ir.cpp:1662:50:1662:52 | Unary | r1662_12 |
76857685
| ir.cpp:1663:9:1663:9 | Address | &:r1663_2 |
76867686
| ir.cpp:1663:9:1663:9 | Address | &:r1663_4 |
76877687
| ir.cpp:1663:9:1663:9 | Load | m1660_15 |
@@ -8815,8 +8815,8 @@
88158815
| smart_ptr.cpp:12:20:12:27 | ChiTotal | total:m10_8 |
88168816
| smart_ptr.cpp:12:20:12:27 | Load | m12_8 |
88178817
| smart_ptr.cpp:12:20:12:27 | SideEffect | ~m10_8 |
8818-
| smart_ptr.cpp:12:20:12:28 | Load | m11_9 |
8819-
| smart_ptr.cpp:12:20:12:28 | StoreValue | r12_7 |
8818+
| smart_ptr.cpp:12:24:12:28 | Load | m11_9 |
8819+
| smart_ptr.cpp:12:24:12:28 | StoreValue | r12_7 |
88208820
| smart_ptr.cpp:12:25:12:26 | Arg(0) | 0:r12_5 |
88218821
| smart_ptr.cpp:12:25:12:26 | Unary | r12_4 |
88228822
| smart_ptr.cpp:17:6:17:24 | ChiPartial | partial:m17_3 |

0 commit comments

Comments
 (0)