Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fe02c59

Browse filesBrowse files
committed
C++: accept test changes for IR Guards replacement
1 parent ef0c1a7 commit fe02c59
Copy full SHA for fe02c59

File tree

Expand file treeCollapse file tree

3 files changed

+11
-18
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+11
-18
lines changed

‎cpp/ql/test/library-tests/controlflow/guards/Guards.expected

Copy file name to clipboardExpand all lines: cpp/ql/test/library-tests/controlflow/guards/Guards.expected
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
| test.c:126:12:126:26 | call to test3_condition |
2525
| test.c:131:7:131:7 | b |
2626
| test.c:137:7:137:7 | 0 |
27-
| test.c:138:9:138:9 | i |
2827
| test.c:146:7:146:8 | ! ... |
2928
| test.c:146:8:146:8 | x |
3029
| test.cpp:18:8:18:10 | call to get |

‎cpp/ql/test/library-tests/controlflow/guards/GuardsControl.expected

Copy file name to clipboardExpand all lines: cpp/ql/test/library-tests/controlflow/guards/GuardsControl.expected
+5-7Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
| test.c:26:11:26:15 | ... > ... | false | 42 | 44 |
1313
| test.c:26:11:26:15 | ... > ... | false | 45 | 45 |
1414
| test.c:26:11:26:15 | ... > ... | false | 45 | 47 |
15-
| test.c:26:11:26:15 | ... > ... | false | 48 | 55 |
1615
| test.c:26:11:26:15 | ... > ... | false | 51 | 53 |
1716
| test.c:26:11:26:15 | ... > ... | false | 56 | 58 |
1817
| test.c:26:11:26:15 | ... > ... | false | 58 | 58 |
@@ -25,7 +24,6 @@
2524
| test.c:34:16:34:21 | ... < ... | false | 42 | 44 |
2625
| test.c:34:16:34:21 | ... < ... | false | 45 | 45 |
2726
| test.c:34:16:34:21 | ... < ... | false | 45 | 47 |
28-
| test.c:34:16:34:21 | ... < ... | false | 48 | 55 |
2927
| test.c:34:16:34:21 | ... < ... | false | 51 | 53 |
3028
| test.c:34:16:34:21 | ... < ... | false | 56 | 58 |
3129
| test.c:34:16:34:21 | ... < ... | false | 58 | 58 |
@@ -36,13 +34,11 @@
3634
| test.c:42:16:42:21 | ... < ... | true | 42 | 44 |
3735
| test.c:42:16:42:21 | ... < ... | true | 45 | 45 |
3836
| test.c:42:16:42:21 | ... < ... | true | 45 | 47 |
39-
| test.c:42:16:42:21 | ... < ... | true | 48 | 55 |
4037
| test.c:42:16:42:21 | ... < ... | true | 51 | 53 |
38+
| test.c:44:12:44:16 | ... > ... | false | 42 | 42 |
4139
| test.c:44:12:44:16 | ... > ... | false | 51 | 53 |
4240
| test.c:44:12:44:16 | ... > ... | true | 45 | 45 |
4341
| test.c:44:12:44:16 | ... > ... | true | 45 | 47 |
44-
| test.c:44:12:44:16 | ... > ... | true | 48 | 55 |
45-
| test.c:45:16:45:20 | ... > ... | false | 48 | 55 |
4642
| test.c:45:16:45:20 | ... > ... | true | 45 | 47 |
4743
| test.c:58:9:58:14 | ... == ... | false | 58 | 58 |
4844
| test.c:58:9:58:14 | ... == ... | false | 62 | 62 |
@@ -81,10 +77,12 @@
8177
| test.c:126:12:126:26 | call to test3_condition | true | 126 | 128 |
8278
| test.c:131:7:131:7 | b | true | 131 | 132 |
8379
| test.c:137:7:137:7 | 0 | false | 142 | 136 |
84-
| test.c:138:9:138:9 | i | true | 138 | 139 |
8580
| test.c:146:7:146:8 | ! ... | true | 146 | 147 |
8681
| test.c:146:8:146:8 | x | false | 146 | 147 |
87-
| test.cpp:18:8:18:10 | call to get | false | 20 | 16 |
82+
| test.cpp:18:8:18:10 | call to get | true | 19 | 19 |
83+
| test.cpp:31:7:31:13 | ... == ... | false | 30 | 30 |
8884
| test.cpp:31:7:31:13 | ... == ... | false | 34 | 34 |
85+
| test.cpp:31:7:31:13 | ... == ... | true | 30 | 30 |
8986
| test.cpp:31:7:31:13 | ... == ... | true | 31 | 32 |
87+
| test.cpp:42:13:42:20 | call to getABool | false | 53 | 53 |
9088
| test.cpp:42:13:42:20 | call to getABool | true | 43 | 45 |

‎cpp/ql/test/library-tests/controlflow/guards/GuardsEnsure.expected

Copy file name to clipboardExpand all lines: cpp/ql/test/library-tests/controlflow/guards/GuardsEnsure.expected
+6-10Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
| test.c:26:11:26:15 | ... > ... | test.c:26:11:26:11 | x | < | test.c:26:15:26:15 | 0 | 1 | 42 | 44 |
2121
| test.c:26:11:26:15 | ... > ... | test.c:26:11:26:11 | x | < | test.c:26:15:26:15 | 0 | 1 | 45 | 45 |
2222
| test.c:26:11:26:15 | ... > ... | test.c:26:11:26:11 | x | < | test.c:26:15:26:15 | 0 | 1 | 45 | 47 |
23-
| test.c:26:11:26:15 | ... > ... | test.c:26:11:26:11 | x | < | test.c:26:15:26:15 | 0 | 1 | 48 | 55 |
2423
| test.c:26:11:26:15 | ... > ... | test.c:26:11:26:11 | x | < | test.c:26:15:26:15 | 0 | 1 | 51 | 53 |
2524
| test.c:26:11:26:15 | ... > ... | test.c:26:11:26:11 | x | < | test.c:26:15:26:15 | 0 | 1 | 56 | 58 |
2625
| test.c:26:11:26:15 | ... > ... | test.c:26:11:26:11 | x | < | test.c:26:15:26:15 | 0 | 1 | 58 | 58 |
@@ -36,7 +35,6 @@
3635
| test.c:26:11:26:15 | ... > ... | test.c:26:15:26:15 | 0 | >= | test.c:26:11:26:11 | x | 0 | 42 | 44 |
3736
| test.c:26:11:26:15 | ... > ... | test.c:26:15:26:15 | 0 | >= | test.c:26:11:26:11 | x | 0 | 45 | 45 |
3837
| test.c:26:11:26:15 | ... > ... | test.c:26:15:26:15 | 0 | >= | test.c:26:11:26:11 | x | 0 | 45 | 47 |
39-
| test.c:26:11:26:15 | ... > ... | test.c:26:15:26:15 | 0 | >= | test.c:26:11:26:11 | x | 0 | 48 | 55 |
4038
| test.c:26:11:26:15 | ... > ... | test.c:26:15:26:15 | 0 | >= | test.c:26:11:26:11 | x | 0 | 51 | 53 |
4139
| test.c:26:11:26:15 | ... > ... | test.c:26:15:26:15 | 0 | >= | test.c:26:11:26:11 | x | 0 | 56 | 58 |
4240
| test.c:26:11:26:15 | ... > ... | test.c:26:15:26:15 | 0 | >= | test.c:26:11:26:11 | x | 0 | 58 | 58 |
@@ -49,7 +47,6 @@
4947
| test.c:34:16:34:21 | ... < ... | test.c:34:16:34:16 | j | >= | test.c:34:20:34:21 | 10 | 0 | 42 | 44 |
5048
| test.c:34:16:34:21 | ... < ... | test.c:34:16:34:16 | j | >= | test.c:34:20:34:21 | 10 | 0 | 45 | 45 |
5149
| test.c:34:16:34:21 | ... < ... | test.c:34:16:34:16 | j | >= | test.c:34:20:34:21 | 10 | 0 | 45 | 47 |
52-
| test.c:34:16:34:21 | ... < ... | test.c:34:16:34:16 | j | >= | test.c:34:20:34:21 | 10 | 0 | 48 | 55 |
5350
| test.c:34:16:34:21 | ... < ... | test.c:34:16:34:16 | j | >= | test.c:34:20:34:21 | 10 | 0 | 51 | 53 |
5451
| test.c:34:16:34:21 | ... < ... | test.c:34:16:34:16 | j | >= | test.c:34:20:34:21 | 10 | 0 | 56 | 58 |
5552
| test.c:34:16:34:21 | ... < ... | test.c:34:16:34:16 | j | >= | test.c:34:20:34:21 | 10 | 0 | 58 | 58 |
@@ -61,7 +58,6 @@
6158
| test.c:34:16:34:21 | ... < ... | test.c:34:20:34:21 | 10 | < | test.c:34:16:34:16 | j | 1 | 42 | 44 |
6259
| test.c:34:16:34:21 | ... < ... | test.c:34:20:34:21 | 10 | < | test.c:34:16:34:16 | j | 1 | 45 | 45 |
6360
| test.c:34:16:34:21 | ... < ... | test.c:34:20:34:21 | 10 | < | test.c:34:16:34:16 | j | 1 | 45 | 47 |
64-
| test.c:34:16:34:21 | ... < ... | test.c:34:20:34:21 | 10 | < | test.c:34:16:34:16 | j | 1 | 48 | 55 |
6561
| test.c:34:16:34:21 | ... < ... | test.c:34:20:34:21 | 10 | < | test.c:34:16:34:16 | j | 1 | 51 | 53 |
6662
| test.c:34:16:34:21 | ... < ... | test.c:34:20:34:21 | 10 | < | test.c:34:16:34:16 | j | 1 | 56 | 58 |
6763
| test.c:34:16:34:21 | ... < ... | test.c:34:20:34:21 | 10 | < | test.c:34:16:34:16 | j | 1 | 58 | 58 |
@@ -72,26 +68,22 @@
7268
| test.c:42:16:42:21 | ... < ... | test.c:42:16:42:16 | j | < | test.c:42:20:42:21 | 10 | 0 | 42 | 44 |
7369
| test.c:42:16:42:21 | ... < ... | test.c:42:16:42:16 | j | < | test.c:42:20:42:21 | 10 | 0 | 45 | 45 |
7470
| test.c:42:16:42:21 | ... < ... | test.c:42:16:42:16 | j | < | test.c:42:20:42:21 | 10 | 0 | 45 | 47 |
75-
| test.c:42:16:42:21 | ... < ... | test.c:42:16:42:16 | j | < | test.c:42:20:42:21 | 10 | 0 | 48 | 55 |
7671
| test.c:42:16:42:21 | ... < ... | test.c:42:16:42:16 | j | < | test.c:42:20:42:21 | 10 | 0 | 51 | 53 |
7772
| test.c:42:16:42:21 | ... < ... | test.c:42:20:42:21 | 10 | >= | test.c:42:16:42:16 | j | 1 | 42 | 42 |
7873
| test.c:42:16:42:21 | ... < ... | test.c:42:20:42:21 | 10 | >= | test.c:42:16:42:16 | j | 1 | 42 | 44 |
7974
| test.c:42:16:42:21 | ... < ... | test.c:42:20:42:21 | 10 | >= | test.c:42:16:42:16 | j | 1 | 45 | 45 |
8075
| test.c:42:16:42:21 | ... < ... | test.c:42:20:42:21 | 10 | >= | test.c:42:16:42:16 | j | 1 | 45 | 47 |
81-
| test.c:42:16:42:21 | ... < ... | test.c:42:20:42:21 | 10 | >= | test.c:42:16:42:16 | j | 1 | 48 | 55 |
8276
| test.c:42:16:42:21 | ... < ... | test.c:42:20:42:21 | 10 | >= | test.c:42:16:42:16 | j | 1 | 51 | 53 |
77+
| test.c:44:12:44:16 | ... > ... | test.c:44:12:44:12 | z | < | test.c:44:16:44:16 | 0 | 1 | 42 | 42 |
8378
| test.c:44:12:44:16 | ... > ... | test.c:44:12:44:12 | z | < | test.c:44:16:44:16 | 0 | 1 | 51 | 53 |
8479
| test.c:44:12:44:16 | ... > ... | test.c:44:12:44:12 | z | >= | test.c:44:16:44:16 | 0 | 1 | 45 | 45 |
8580
| test.c:44:12:44:16 | ... > ... | test.c:44:12:44:12 | z | >= | test.c:44:16:44:16 | 0 | 1 | 45 | 47 |
86-
| test.c:44:12:44:16 | ... > ... | test.c:44:12:44:12 | z | >= | test.c:44:16:44:16 | 0 | 1 | 48 | 55 |
8781
| test.c:44:12:44:16 | ... > ... | test.c:44:16:44:16 | 0 | < | test.c:44:12:44:12 | z | 0 | 45 | 45 |
8882
| test.c:44:12:44:16 | ... > ... | test.c:44:16:44:16 | 0 | < | test.c:44:12:44:12 | z | 0 | 45 | 47 |
89-
| test.c:44:12:44:16 | ... > ... | test.c:44:16:44:16 | 0 | < | test.c:44:12:44:12 | z | 0 | 48 | 55 |
83+
| test.c:44:12:44:16 | ... > ... | test.c:44:16:44:16 | 0 | >= | test.c:44:12:44:12 | z | 0 | 42 | 42 |
9084
| test.c:44:12:44:16 | ... > ... | test.c:44:16:44:16 | 0 | >= | test.c:44:12:44:12 | z | 0 | 51 | 53 |
91-
| test.c:45:16:45:20 | ... > ... | test.c:45:16:45:16 | y | < | test.c:45:20:45:20 | 0 | 1 | 48 | 55 |
9285
| test.c:45:16:45:20 | ... > ... | test.c:45:16:45:16 | y | >= | test.c:45:20:45:20 | 0 | 1 | 45 | 47 |
9386
| test.c:45:16:45:20 | ... > ... | test.c:45:20:45:20 | 0 | < | test.c:45:16:45:16 | y | 0 | 45 | 47 |
94-
| test.c:45:16:45:20 | ... > ... | test.c:45:20:45:20 | 0 | >= | test.c:45:16:45:16 | y | 0 | 48 | 55 |
9587
| test.c:58:9:58:14 | ... == ... | test.c:58:9:58:9 | x | != | test.c:58:14:58:14 | 0 | 0 | 58 | 58 |
9688
| test.c:58:9:58:14 | ... == ... | test.c:58:9:58:9 | x | != | test.c:58:14:58:14 | 0 | 0 | 62 | 62 |
9789
| test.c:58:9:58:14 | ... == ... | test.c:58:14:58:14 | 0 | != | test.c:58:9:58:9 | x | 0 | 58 | 58 |
@@ -154,7 +146,11 @@
154146
| test.c:109:9:109:23 | ... \|\| ... | test.c:109:23:109:23 | 0 | < | test.c:109:19:109:19 | y | 1 | 113 | 113 |
155147
| test.c:109:19:109:23 | ... < ... | test.c:109:19:109:19 | y | >= | test.c:109:23:109:23 | 0 | 0 | 113 | 113 |
156148
| test.c:109:19:109:23 | ... < ... | test.c:109:23:109:23 | 0 | < | test.c:109:19:109:19 | y | 1 | 113 | 113 |
149+
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:7:31:7 | x | != | test.cpp:31:12:31:13 | - ... | 0 | 30 | 30 |
157150
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:7:31:7 | x | != | test.cpp:31:12:31:13 | - ... | 0 | 34 | 34 |
151+
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:7:31:7 | x | == | test.cpp:31:12:31:13 | - ... | 0 | 30 | 30 |
158152
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:7:31:7 | x | == | test.cpp:31:12:31:13 | - ... | 0 | 31 | 32 |
153+
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:12:31:13 | - ... | != | test.cpp:31:7:31:7 | x | 0 | 30 | 30 |
159154
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:12:31:13 | - ... | != | test.cpp:31:7:31:7 | x | 0 | 34 | 34 |
155+
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:12:31:13 | - ... | == | test.cpp:31:7:31:7 | x | 0 | 30 | 30 |
160156
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:12:31:13 | - ... | == | test.cpp:31:7:31:7 | x | 0 | 31 | 32 |

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.