File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
cpp/ql/test/library-tests/dataflow/dataflow-tests Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -378,11 +378,8 @@ irFlow
378378| test.cpp:1195:10:1195:24 | *call to indirect_source | test.cpp:1224:19:1224:37 | ** ... |
379379| test.cpp:1195:10:1195:24 | *call to indirect_source | test.cpp:1227:10:1227:29 | * ... |
380380| test.cpp:1258:11:1258:16 | call to source | test.cpp:1259:8:1259:10 | ... ++ |
381- | test.cpp:1258:11:1258:16 | call to source | test.cpp:1260:8:1260:8 | x |
382381| test.cpp:1262:7:1262:12 | call to source | test.cpp:1263:8:1263:10 | ... -- |
383- | test.cpp:1262:7:1262:12 | call to source | test.cpp:1264:8:1264:8 | x |
384382| test.cpp:1284:11:1284:16 | call to source | test.cpp:1285:8:1285:20 | ... ? ... : ... |
385- | test.cpp:1284:11:1284:16 | call to source | test.cpp:1286:8:1286:8 | x |
386383| test.cpp:1288:7:1288:12 | call to source | test.cpp:1290:8:1290:8 | x |
387384| test.cpp:1292:7:1292:12 | call to source | test.cpp:1294:8:1294:8 | x |
388385| test.cpp:1296:7:1296:12 | call to source | test.cpp:1297:8:1297:18 | ... ? ... : ... |
@@ -391,7 +388,6 @@ irFlow
391388| test.cpp:1300:7:1300:12 | call to source | test.cpp:1302:8:1302:8 | x |
392389| test.cpp:1304:7:1304:12 | call to source | test.cpp:1306:8:1306:8 | x |
393390| test.cpp:1308:7:1308:12 | call to source | test.cpp:1309:8:1309:16 | ... ++ |
394- | test.cpp:1308:7:1308:12 | call to source | test.cpp:1310:8:1310:8 | x |
395391| test.cpp:1312:7:1312:12 | call to source | test.cpp:1313:8:1313:24 | ... ? ... : ... |
396392| test.cpp:1312:7:1312:12 | call to source | test.cpp:1314:8:1314:8 | x |
397393| true_upon_entry.cpp:9:11:9:16 | call to source | true_upon_entry.cpp:13:8:13:8 | x |
Original file line number Diff line number Diff line change @@ -1257,11 +1257,11 @@ namespace globals_without_explicit_def {
12571257void crement_test1 () {
12581258 int x = source ();
12591259 sink (x++); // $ ir ast
1260- sink (x); // $ SPURIOUS: ir
1260+ sink (x);
12611261
12621262 x = source ();
12631263 sink (x--); // $ ir ast
1264- sink (x); // $ SPURIOUS: ir
1264+ sink (x);
12651265
12661266 x = source ();
12671267 sink (++x); // $ SPURIOUS: ast
@@ -1283,7 +1283,7 @@ void crement_test1() {
12831283void crement_test2 (bool b, int y) {
12841284 int x = source ();
12851285 sink (b ? x++ : x--); // $ ir ast
1286- sink (x); // $ SPURIOUS: ir
1286+ sink (x);
12871287
12881288 x = source ();
12891289 sink ((b ? x : y)++); // $ ast MISSING: ir
@@ -1307,7 +1307,7 @@ void crement_test2(bool b, int y) {
13071307
13081308 x = source ();
13091309 sink ((long )x++); // $ ir ast
1310- sink (x); // $ SPURIOUS: ir
1310+ sink (x);
13111311
13121312 x = source ();
13131313 sink (b ? (long )x++ : 0 ); // $ ir ast
You can’t perform that action at this time.
0 commit comments