Skip to content

Commit 7ddc909

Browse files
committed
C++: Accept test changes after review.
1 parent dda4a97 commit 7ddc909

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ edges
6565
| test.cpp:32:41:32:41 | x | test.cpp:7:47:7:52 | value2 | provenance | |
6666
| test.cpp:32:41:32:41 | x | test.cpp:32:11:32:36 | call to ymlStepGenerated_with_body | provenance | |
6767
| test.cpp:46:30:46:32 | *arg [x] | test.cpp:47:12:47:19 | *arg [x] | provenance | |
68-
| test.cpp:47:12:47:19 | *arg [x] | test.cpp:48:11:48:11 | *s [x] | provenance | |
69-
| test.cpp:48:11:48:11 | *s [x] | test.cpp:48:14:48:14 | x | provenance | Sink:MaD:1 |
68+
| test.cpp:47:12:47:19 | *arg [x] | test.cpp:48:13:48:13 | *s [x] | provenance | |
69+
| test.cpp:48:13:48:13 | *s [x] | test.cpp:48:16:48:16 | x | provenance | Sink:MaD:1 |
7070
| test.cpp:52:5:52:18 | [summary param] *3 in pthread_create [x] | test.cpp:52:5:52:18 | [summary] to write: Argument[2].Parameter[*0] in pthread_create [x] | provenance | MaD:23 |
7171
| test.cpp:52:5:52:18 | [summary] to write: Argument[2].Parameter[*0] in pthread_create [x] | test.cpp:46:30:46:32 | *arg [x] | provenance | |
7272
| test.cpp:56:2:56:2 | *s [post update] [x] | test.cpp:59:55:59:64 | *& ... [x] | provenance | |
@@ -201,8 +201,8 @@ nodes
201201
| test.cpp:33:10:33:11 | z2 | semmle.label | z2 |
202202
| test.cpp:46:30:46:32 | *arg [x] | semmle.label | *arg [x] |
203203
| test.cpp:47:12:47:19 | *arg [x] | semmle.label | *arg [x] |
204-
| test.cpp:48:11:48:11 | *s [x] | semmle.label | *s [x] |
205-
| test.cpp:48:14:48:14 | x | semmle.label | x |
204+
| test.cpp:48:13:48:13 | *s [x] | semmle.label | *s [x] |
205+
| test.cpp:48:16:48:16 | x | semmle.label | x |
206206
| test.cpp:52:5:52:18 | [summary param] *3 in pthread_create [x] | semmle.label | [summary param] *3 in pthread_create [x] |
207207
| test.cpp:52:5:52:18 | [summary] to write: Argument[2].Parameter[*0] in pthread_create [x] | semmle.label | [summary] to write: Argument[2].Parameter[*0] in pthread_create [x] |
208208
| test.cpp:56:2:56:2 | *s [post update] [x] | semmle.label | *s [post update] [x] |

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
| test.cpp:29:10:29:11 | y3 | test-sink |
99
| test.cpp:33:10:33:11 | z2 | test-sink |
1010
| test.cpp:36:10:36:11 | z3 | test-sink |
11-
| test.cpp:48:14:48:14 | x | test-sink |
11+
| test.cpp:48:16:48:16 | x | test-sink |

0 commit comments

Comments
 (0)