Skip to content

Commit 7a0cbb4

Browse files
committed
C++: Accept test changes.
1 parent 0c3ea6c commit 7a0cbb4

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ uniqueType
44
uniqueNodeLocation
55
missingLocation
66
uniqueNodeToString
7-
| test.cpp:930:8:930:10 | Use of **global_pointer | Node should have one toString but has 2. |
8-
| test.cpp:930:8:930:10 | Use of *global_pointer | Node should have one toString but has 2. |
97
parameterCallable
108
localFlowIsLocal
119
readStepIsLocal

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ irFlow
300300
| test.cpp:902:56:902:75 | *indirect_source(2) | test.cpp:911:19:911:48 | *global_array_static_indirect_2 |
301301
| test.cpp:914:46:914:53 | source | test.cpp:919:10:919:30 | global_pointer_static |
302302
| test.cpp:915:57:915:76 | *indirect_source(1) | test.cpp:921:19:921:50 | *global_pointer_static_indirect_1 |
303-
| test.cpp:932:23:932:28 | call to source | test.cpp:936:10:936:23 | global_pointer |
304303
| test.cpp:932:23:932:28 | call to source | test.cpp:937:10:937:24 | * ... |
305304
| true_upon_entry.cpp:9:11:9:16 | call to source | true_upon_entry.cpp:13:8:13:8 | x |
306305
| true_upon_entry.cpp:17:11:17:16 | call to source | true_upon_entry.cpp:21:8:21:8 | x |

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ namespace global_variable_conflation_test {
933933
}
934934

935935
void use() {
936-
sink(global_pointer); // $ SPURIOUS: ir
936+
sink(global_pointer); // clean
937937
sink(*global_pointer); // $ ir MISSING: ast
938938
}
939939
}

0 commit comments

Comments
 (0)