Skip to content

Commit f00b553

Browse files
committed
C++: Accept test changes.
1 parent f52d18c commit f00b553

2 files changed

Lines changed: 26 additions & 2 deletions

File tree

cpp/ql/test/library-tests/dataflow/external-models/flow.expected

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,17 @@ edges
436436
| test.cpp:454:13:454:13 | *c [element, x] | test.cpp:454:18:454:20 | *call to get [x] | provenance | MaD:87 |
437437
| test.cpp:454:18:454:20 | *call to get [x] | test.cpp:454:21:454:21 | x | provenance | |
438438
| test.cpp:454:21:454:21 | x | test.cpp:454:21:454:21 | x | provenance | Sink:MaD:3 |
439+
| test.cpp:461:5:461:5 | forward output argument | test.cpp:462:13:462:13 | *f | provenance | |
440+
| test.cpp:461:15:461:23 | call to ymlSource | test.cpp:461:15:461:23 | call to ymlSource | provenance | Src:MaD:48 |
441+
| test.cpp:461:15:461:23 | call to ymlSource | test.cpp:461:15:461:25 | call to ymlSource | provenance | |
442+
| test.cpp:461:15:461:25 | call to ymlSource | test.cpp:461:5:461:5 | forward output argument | provenance | |
443+
| test.cpp:462:13:462:13 | *f | test.cpp:462:15:462:17 | call to get | provenance | MaD:88 |
444+
| test.cpp:462:15:462:17 | call to get | test.cpp:462:15:462:17 | call to get | provenance | Sink:MaD:3 |
445+
| test.cpp:466:5:466:5 | forward output argument | test.cpp:467:14:467:14 | *f | provenance | |
446+
| test.cpp:466:15:466:26 | *call to ymlSourcePtr | test.cpp:466:15:466:28 | **call to ymlSourcePtr | provenance | |
447+
| test.cpp:466:15:466:26 | call to ymlSourcePtr | test.cpp:466:15:466:26 | *call to ymlSourcePtr | provenance | Src:MaD:49 |
448+
| test.cpp:466:15:466:28 | **call to ymlSourcePtr | test.cpp:466:5:466:5 | forward output argument | provenance | |
449+
| test.cpp:467:14:467:14 | *f | test.cpp:467:13:467:20 | * ... | provenance | MaD:88 Sink:MaD:3 |
439450
| windows.cpp:22:15:22:29 | *call to GetCommandLineA | windows.cpp:24:8:24:11 | * ... | provenance | |
440451
| windows.cpp:22:15:22:29 | *call to GetCommandLineA | windows.cpp:27:36:27:38 | *cmd | provenance | |
441452
| windows.cpp:22:15:22:29 | call to GetCommandLineA | windows.cpp:22:15:22:29 | *call to GetCommandLineA | provenance | Src:MaD:5 |
@@ -984,6 +995,19 @@ nodes
984995
| test.cpp:454:18:454:20 | *call to get [x] | semmle.label | *call to get [x] |
985996
| test.cpp:454:21:454:21 | x | semmle.label | x |
986997
| test.cpp:454:21:454:21 | x | semmle.label | x |
998+
| test.cpp:461:5:461:5 | forward output argument | semmle.label | forward output argument |
999+
| test.cpp:461:15:461:23 | call to ymlSource | semmle.label | call to ymlSource |
1000+
| test.cpp:461:15:461:23 | call to ymlSource | semmle.label | call to ymlSource |
1001+
| test.cpp:461:15:461:25 | call to ymlSource | semmle.label | call to ymlSource |
1002+
| test.cpp:462:13:462:13 | *f | semmle.label | *f |
1003+
| test.cpp:462:15:462:17 | call to get | semmle.label | call to get |
1004+
| test.cpp:462:15:462:17 | call to get | semmle.label | call to get |
1005+
| test.cpp:466:5:466:5 | forward output argument | semmle.label | forward output argument |
1006+
| test.cpp:466:15:466:26 | *call to ymlSourcePtr | semmle.label | *call to ymlSourcePtr |
1007+
| test.cpp:466:15:466:26 | call to ymlSourcePtr | semmle.label | call to ymlSourcePtr |
1008+
| test.cpp:466:15:466:28 | **call to ymlSourcePtr | semmle.label | **call to ymlSourcePtr |
1009+
| test.cpp:467:13:467:20 | * ... | semmle.label | * ... |
1010+
| test.cpp:467:14:467:14 | *f | semmle.label | *f |
9871011
| windows.cpp:22:15:22:29 | *call to GetCommandLineA | semmle.label | *call to GetCommandLineA |
9881012
| windows.cpp:22:15:22:29 | call to GetCommandLineA | semmle.label | call to GetCommandLineA |
9891013
| windows.cpp:24:8:24:11 | * ... | semmle.label | * ... |

cpp/ql/test/library-tests/dataflow/external-models/test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,11 +459,11 @@ void forward_test_without_constructor() {
459459
{
460460
Forwarder<int> f;
461461
f.forward(ymlSource());
462-
ymlSink(f.get()); // $ MISSING: ir
462+
ymlSink(f.get()); // $ ir
463463
}
464464
{
465465
Forwarder<int*> f;
466466
f.forward(ymlSourcePtr());
467-
ymlSink(*f.get()); // $ MISSING: ir
467+
ymlSink(*f.get()); // $ ir
468468
}
469469
}

0 commit comments

Comments
 (0)