File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
cpp/ql/test/library-tests/dataflow/dataflow-tests Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ uniqueType
4
4
uniqueNodeLocation
5
5
missingLocation
6
6
uniqueNodeToString
7
+ | test.cpp:632:6:632:24 | Use of x indirection | Node should have one toString but has 2. |
8
+ | test.cpp:632:6:632:24 | Use of x#init indirection | Node should have one toString but has 2. |
9
+ | test.cpp:637:6:637:24 | Use of x indirection | Node should have one toString but has 2. |
10
+ | test.cpp:637:6:637:24 | Use of x#init indirection | Node should have one toString but has 2. |
11
+ | test.cpp:663:6:663:24 | Use of s indirection | Node should have one toString but has 2. |
12
+ | test.cpp:663:6:663:24 | Use of s#init indirection | Node should have one toString but has 2. |
13
+ | test.cpp:669:6:669:24 | Use of s indirection | Node should have one toString but has 2. |
14
+ | test.cpp:669:6:669:24 | Use of s#init indirection | Node should have one toString but has 2. |
7
15
missingToString
8
16
parameterCallable
9
17
localFlowIsLocal
Original file line number Diff line number Diff line change @@ -642,7 +642,7 @@ void test_static_local_2() {
642
642
643
643
void test_static_local_3 () {
644
644
static int x = 0 ;
645
- sink (x); // $ MISSING: ast, ir
645
+ sink (x); // $ ir MISSING: ast
646
646
x = source ();
647
647
}
648
648
@@ -655,15 +655,15 @@ void test_static_local_4() {
655
655
656
656
void test_static_local_5 () {
657
657
static int x = 0 ;
658
- sink (x); // $ MISSING: ast,ir
658
+ sink (x); // $ ir MISSING: ast
659
659
x = 0 ;
660
660
x = source ();
661
661
}
662
662
663
663
void test_static_local_6 () {
664
664
static int s = source ();
665
665
static int * ptr_to_s = &s;
666
- sink (*ptr_to_s); // $ MISSING: ast,ir
666
+ sink (*ptr_to_s); // $ ir MISSING: ast
667
667
}
668
668
669
669
void test_static_local_7 () {
@@ -676,7 +676,7 @@ void test_static_local_7() {
676
676
void test_static_local_8 () {
677
677
static int s;
678
678
static int * ptr_to_s = &s;
679
- sink (*ptr_to_s); // $ MISSING: ast,ir
679
+ sink (*ptr_to_s); // $ ir MISSING: ast
680
680
681
681
s = source ();
682
682
}
You can’t perform that action at this time.
0 commit comments