Skip to content

Commit 5f0efc1

Browse files
committed
C++: Accept test changes.
1 parent 50775d0 commit 5f0efc1

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

cpp/ql/test/library-tests/dataflow/dataflow-tests/test-source-sink.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ irFlow
228228
| test.cpp:333:17:333:22 | call to source | test.cpp:337:10:337:18 | globalVar |
229229
| test.cpp:333:17:333:22 | call to source | test.cpp:339:10:339:18 | globalVar |
230230
| test.cpp:333:17:333:22 | call to source | test.cpp:343:10:343:18 | globalVar |
231-
| test.cpp:333:17:333:22 | call to source | test.cpp:349:10:349:18 | globalVar |
232231
| test.cpp:347:17:347:22 | call to source | test.cpp:337:10:337:18 | globalVar |
233232
| test.cpp:347:17:347:22 | call to source | test.cpp:339:10:339:18 | globalVar |
234233
| test.cpp:347:17:347:22 | call to source | test.cpp:343:10:343:18 | globalVar |
@@ -260,7 +259,6 @@ irFlow
260259
| test.cpp:562:17:562:31 | *call to indirect_source | test.cpp:566:10:566:19 | * ... |
261260
| test.cpp:562:17:562:31 | *call to indirect_source | test.cpp:568:10:568:19 | * ... |
262261
| test.cpp:562:17:562:31 | *call to indirect_source | test.cpp:572:10:572:19 | * ... |
263-
| test.cpp:562:17:562:31 | *call to indirect_source | test.cpp:578:10:578:19 | * ... |
264262
| test.cpp:576:17:576:31 | *call to indirect_source | test.cpp:566:10:566:19 | * ... |
265263
| test.cpp:576:17:576:31 | *call to indirect_source | test.cpp:568:10:568:19 | * ... |
266264
| test.cpp:576:17:576:31 | *call to indirect_source | test.cpp:572:10:572:19 | * ... |

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ namespace FlowThroughGlobals {
346346
void taintAndCall() {
347347
globalVar = source();
348348
calledAfterTaint();
349-
sink(globalVar); // $ ast ir=333:17 ir=347:17
349+
sink(globalVar); // $ ast ir
350350
}
351351
}
352352

@@ -575,7 +575,7 @@ namespace IndirectFlowThroughGlobals {
575575
void taintAndCall() {
576576
globalInt = indirect_source();
577577
calledAfterTaint();
578-
sink(*globalInt); // $ ir=562:17 ir=576:17 MISSING: ast=562:17 ast=576:17
578+
sink(*globalInt); // $ ir MISSING: ast=562:17 ast=576:17
579579
}
580580
}
581581

cpp/ql/test/library-tests/syntax-zoo/dataflow-ir-consistency.expected

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ uniqueType
44
uniqueNodeLocation
55
missingLocation
66
uniqueNodeToString
7-
| builtin.c:5:5:5:11 | (no string representation) | Node should have one toString but has 0. |
8-
| misc.c:227:7:227:28 | (no string representation) | Node should have one toString but has 0. |
9-
| static_init_templates.cpp:80:18:80:23 | (no string representation) | Node should have one toString but has 0. |
10-
| static_init_templates.cpp:80:18:80:23 | (no string representation) | Node should have one toString but has 0. |
11-
| static_init_templates.cpp:89:18:89:23 | (no string representation) | Node should have one toString but has 0. |
12-
| static_init_templates.cpp:89:18:89:23 | (no string representation) | Node should have one toString but has 0. |
137
parameterCallable
148
localFlowIsLocal
159
readStepIsLocal

0 commit comments

Comments
 (0)