Skip to content

Commit 1b23f3e

Browse files
committed
C++: Accept two more changed tests
1 parent 9153f56 commit 1b23f3e

File tree

2 files changed

+35
-35
lines changed

2 files changed

+35
-35
lines changed

cpp/ql/test/library-tests/dataflow/fields/partial-definition-diff.expected

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,42 @@
1414
| A.cpp:56:10:56:10 | b | AST only |
1515
| A.cpp:56:13:56:15 | call to get | AST only |
1616
| A.cpp:57:28:57:30 | call to get | AST only |
17+
| A.cpp:64:10:64:15 | this | AST only |
1718
| A.cpp:64:17:64:18 | b1 | AST only |
1819
| A.cpp:65:10:65:11 | b1 | AST only |
1920
| A.cpp:65:14:65:14 | c | AST only |
2021
| A.cpp:66:10:66:11 | b2 | AST only |
2122
| A.cpp:66:14:66:14 | c | AST only |
23+
| A.cpp:73:10:73:19 | this | AST only |
2224
| A.cpp:73:21:73:22 | b1 | AST only |
2325
| A.cpp:74:10:74:11 | b1 | AST only |
2426
| A.cpp:74:14:74:14 | c | AST only |
2527
| A.cpp:75:10:75:11 | b2 | AST only |
2628
| A.cpp:75:14:75:14 | c | AST only |
29+
| A.cpp:81:10:81:15 | this | AST only |
2730
| A.cpp:81:17:81:18 | b1 | AST only |
2831
| A.cpp:81:21:81:21 | c | AST only |
32+
| A.cpp:82:12:82:12 | this | AST only |
33+
| A.cpp:87:9:87:9 | this | AST only |
2934
| A.cpp:90:7:90:8 | b2 | AST only |
3035
| A.cpp:90:15:90:15 | c | AST only |
3136
| A.cpp:100:9:100:9 | a | AST only |
37+
| A.cpp:101:5:101:6 | this | AST only |
3238
| A.cpp:101:8:101:9 | c1 | AST only |
3339
| A.cpp:107:12:107:13 | c1 | AST only |
3440
| A.cpp:107:16:107:16 | a | AST only |
3541
| A.cpp:120:12:120:13 | c1 | AST only |
3642
| A.cpp:120:16:120:16 | a | AST only |
3743
| A.cpp:126:5:126:5 | b | AST only |
44+
| A.cpp:131:5:131:6 | this | AST only |
3845
| A.cpp:131:8:131:8 | b | AST only |
3946
| A.cpp:132:10:132:10 | b | AST only |
4047
| A.cpp:132:13:132:13 | c | AST only |
4148
| A.cpp:142:10:142:10 | c | AST only |
4249
| A.cpp:143:7:143:10 | this | AST only |
4350
| A.cpp:143:13:143:13 | b | AST only |
4451
| A.cpp:151:18:151:18 | b | AST only |
52+
| A.cpp:151:21:151:21 | this | AST only |
4553
| A.cpp:152:10:152:10 | d | AST only |
4654
| A.cpp:152:13:152:13 | b | AST only |
4755
| A.cpp:153:10:153:10 | d | AST only |
@@ -130,6 +138,7 @@
130138
| D.cpp:58:5:58:12 | this | AST only |
131139
| D.cpp:58:15:58:17 | box | AST only |
132140
| D.cpp:58:20:58:23 | elem | AST only |
141+
| D.cpp:59:5:59:7 | this | AST only |
133142
| D.cpp:64:10:64:17 | boxfield | AST only |
134143
| D.cpp:64:10:64:17 | this | AST only |
135144
| D.cpp:64:20:64:22 | box | AST only |
@@ -275,16 +284,6 @@
275284
| constructors.cpp:43:9:43:9 | g | AST only |
276285
| constructors.cpp:46:9:46:9 | h | AST only |
277286
| constructors.cpp:49:9:49:9 | i | AST only |
278-
| file://:0:0:0:0 | this | AST only |
279-
| file://:0:0:0:0 | this | AST only |
280-
| file://:0:0:0:0 | this | AST only |
281-
| file://:0:0:0:0 | this | AST only |
282-
| file://:0:0:0:0 | this | AST only |
283-
| file://:0:0:0:0 | this | AST only |
284-
| file://:0:0:0:0 | this | AST only |
285-
| file://:0:0:0:0 | this | AST only |
286-
| file://:0:0:0:0 | this | AST only |
287-
| file://:0:0:0:0 | this | AST only |
288287
| qualifiers.cpp:9:30:9:33 | this | AST only |
289288
| qualifiers.cpp:9:36:9:36 | a | AST only |
290289
| qualifiers.cpp:12:56:12:56 | a | AST only |
@@ -343,6 +342,7 @@
343342
| simple.cpp:83:9:83:10 | f2 | AST only |
344343
| simple.cpp:83:9:83:10 | this | AST only |
345344
| simple.cpp:83:12:83:13 | f1 | AST only |
345+
| simple.cpp:84:14:84:20 | this | AST only |
346346
| struct_init.c:15:8:15:9 | ab | AST only |
347347
| struct_init.c:15:12:15:12 | a | AST only |
348348
| struct_init.c:16:8:16:9 | ab | AST only |

cpp/ql/test/library-tests/dataflow/fields/partial-definition.expected

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,35 @@
1414
| A.cpp:56:10:56:10 | b |
1515
| A.cpp:56:13:56:15 | call to get |
1616
| A.cpp:57:28:57:30 | call to get |
17+
| A.cpp:64:10:64:15 | this |
1718
| A.cpp:64:17:64:18 | b1 |
1819
| A.cpp:65:10:65:11 | b1 |
1920
| A.cpp:65:14:65:14 | c |
2021
| A.cpp:66:10:66:11 | b2 |
2122
| A.cpp:66:14:66:14 | c |
23+
| A.cpp:73:10:73:19 | this |
2224
| A.cpp:73:21:73:22 | b1 |
2325
| A.cpp:74:10:74:11 | b1 |
2426
| A.cpp:74:14:74:14 | c |
2527
| A.cpp:75:10:75:11 | b2 |
2628
| A.cpp:75:14:75:14 | c |
29+
| A.cpp:81:10:81:15 | this |
2730
| A.cpp:81:17:81:18 | b1 |
2831
| A.cpp:81:21:81:21 | c |
32+
| A.cpp:82:12:82:12 | this |
33+
| A.cpp:87:9:87:9 | this |
2934
| A.cpp:90:7:90:8 | b2 |
3035
| A.cpp:90:15:90:15 | c |
3136
| A.cpp:100:5:100:6 | c1 |
3237
| A.cpp:100:9:100:9 | a |
38+
| A.cpp:101:5:101:6 | this |
3339
| A.cpp:101:8:101:9 | c1 |
3440
| A.cpp:107:12:107:13 | c1 |
3541
| A.cpp:107:16:107:16 | a |
3642
| A.cpp:120:12:120:13 | c1 |
3743
| A.cpp:120:16:120:16 | a |
3844
| A.cpp:126:5:126:5 | b |
45+
| A.cpp:131:5:131:6 | this |
3946
| A.cpp:131:8:131:8 | b |
4047
| A.cpp:132:10:132:10 | b |
4148
| A.cpp:132:13:132:13 | c |
@@ -44,6 +51,7 @@
4451
| A.cpp:143:7:143:10 | this |
4552
| A.cpp:143:13:143:13 | b |
4653
| A.cpp:151:18:151:18 | b |
54+
| A.cpp:151:21:151:21 | this |
4755
| A.cpp:152:10:152:10 | d |
4856
| A.cpp:152:13:152:13 | b |
4957
| A.cpp:153:10:153:10 | d |
@@ -71,6 +79,7 @@
7179
| A.cpp:169:12:169:12 | l |
7280
| A.cpp:169:15:169:18 | head |
7381
| A.cpp:183:7:183:10 | head |
82+
| A.cpp:183:7:183:10 | this |
7483
| A.cpp:184:7:184:10 | this |
7584
| A.cpp:184:13:184:16 | next |
7685
| B.cpp:7:25:7:25 | e |
@@ -99,9 +108,13 @@
99108
| C.cpp:24:5:24:8 | this |
100109
| C.cpp:24:11:24:12 | s3 |
101110
| D.cpp:9:21:9:24 | elem |
111+
| D.cpp:9:21:9:24 | this |
102112
| D.cpp:11:29:11:32 | elem |
113+
| D.cpp:11:29:11:32 | this |
103114
| D.cpp:16:21:16:23 | box |
115+
| D.cpp:16:21:16:23 | this |
104116
| D.cpp:18:29:18:31 | box |
117+
| D.cpp:18:29:18:31 | this |
105118
| D.cpp:22:10:22:11 | b2 |
106119
| D.cpp:22:14:22:20 | call to getBox1 |
107120
| D.cpp:22:25:22:31 | call to getElem |
@@ -122,10 +135,14 @@
122135
| D.cpp:51:27:51:27 | e |
123136
| D.cpp:52:14:52:14 | b |
124137
| D.cpp:57:5:57:12 | boxfield |
138+
| D.cpp:57:5:57:12 | this |
125139
| D.cpp:58:5:58:12 | boxfield |
140+
| D.cpp:58:5:58:12 | this |
126141
| D.cpp:58:15:58:17 | box |
127142
| D.cpp:58:20:58:23 | elem |
143+
| D.cpp:59:5:59:7 | this |
128144
| D.cpp:64:10:64:17 | boxfield |
145+
| D.cpp:64:10:64:17 | this |
129146
| D.cpp:64:20:64:22 | box |
130147
| D.cpp:64:25:64:28 | elem |
131148
| E.cpp:21:10:21:10 | p |
@@ -249,7 +266,9 @@
249266
| by_reference.cpp:136:8:136:13 | pouter |
250267
| by_reference.cpp:136:16:136:16 | a |
251268
| complex.cpp:11:22:11:23 | a_ |
269+
| complex.cpp:11:22:11:23 | this |
252270
| complex.cpp:12:22:12:23 | b_ |
271+
| complex.cpp:12:22:12:23 | this |
253272
| complex.cpp:51:8:51:8 | b |
254273
| complex.cpp:51:10:51:14 | inner |
255274
| complex.cpp:51:16:51:16 | f |
@@ -273,38 +292,15 @@
273292
| complex.cpp:74:7:74:8 | b3 |
274293
| complex.cpp:77:7:77:8 | b4 |
275294
| constructors.cpp:20:24:20:25 | a_ |
295+
| constructors.cpp:20:24:20:25 | this |
276296
| constructors.cpp:21:24:21:25 | b_ |
297+
| constructors.cpp:21:24:21:25 | this |
277298
| constructors.cpp:28:10:28:10 | f |
278299
| constructors.cpp:29:10:29:10 | f |
279300
| constructors.cpp:40:9:40:9 | f |
280301
| constructors.cpp:43:9:43:9 | g |
281302
| constructors.cpp:46:9:46:9 | h |
282303
| constructors.cpp:49:9:49:9 | i |
283-
| file://:0:0:0:0 | this |
284-
| file://:0:0:0:0 | this |
285-
| file://:0:0:0:0 | this |
286-
| file://:0:0:0:0 | this |
287-
| file://:0:0:0:0 | this |
288-
| file://:0:0:0:0 | this |
289-
| file://:0:0:0:0 | this |
290-
| file://:0:0:0:0 | this |
291-
| file://:0:0:0:0 | this |
292-
| file://:0:0:0:0 | this |
293-
| file://:0:0:0:0 | this |
294-
| file://:0:0:0:0 | this |
295-
| file://:0:0:0:0 | this |
296-
| file://:0:0:0:0 | this |
297-
| file://:0:0:0:0 | this |
298-
| file://:0:0:0:0 | this |
299-
| file://:0:0:0:0 | this |
300-
| file://:0:0:0:0 | this |
301-
| file://:0:0:0:0 | this |
302-
| file://:0:0:0:0 | this |
303-
| file://:0:0:0:0 | this |
304-
| file://:0:0:0:0 | this |
305-
| file://:0:0:0:0 | this |
306-
| file://:0:0:0:0 | this |
307-
| file://:0:0:0:0 | this |
308304
| qualifiers.cpp:9:30:9:33 | this |
309305
| qualifiers.cpp:9:36:9:36 | a |
310306
| qualifiers.cpp:12:49:12:53 | inner |
@@ -348,7 +344,9 @@
348344
| qualifiers.cpp:48:16:48:20 | inner |
349345
| qualifiers.cpp:48:23:48:23 | a |
350346
| simple.cpp:20:24:20:25 | a_ |
347+
| simple.cpp:20:24:20:25 | this |
351348
| simple.cpp:21:24:21:25 | b_ |
349+
| simple.cpp:21:24:21:25 | this |
352350
| simple.cpp:28:10:28:10 | f |
353351
| simple.cpp:29:10:29:10 | f |
354352
| simple.cpp:39:5:39:5 | f |
@@ -362,7 +360,9 @@
362360
| simple.cpp:65:5:65:5 | a |
363361
| simple.cpp:65:7:65:7 | i |
364362
| simple.cpp:83:9:83:10 | f2 |
363+
| simple.cpp:83:9:83:10 | this |
365364
| simple.cpp:83:12:83:13 | f1 |
365+
| simple.cpp:84:14:84:20 | this |
366366
| struct_init.c:15:8:15:9 | ab |
367367
| struct_init.c:15:12:15:12 | a |
368368
| struct_init.c:16:8:16:9 | ab |

0 commit comments

Comments
 (0)