File tree Expand file tree Collapse file tree
cpp/ql/test/library-tests/dataflow/dataflow-tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ uniqueType
44uniqueNodeLocation
55missingLocation
66uniqueNodeToString
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. |
715missingToString
816parameterCallable
917localFlowIsLocal
Original file line number Diff line number Diff line change @@ -642,7 +642,7 @@ void test_static_local_2() {
642642
643643void test_static_local_3 () {
644644 static int x = 0 ;
645- sink (x); // $ MISSING: ast, ir
645+ sink (x); // $ ir MISSING: ast
646646 x = source ();
647647}
648648
@@ -655,15 +655,15 @@ void test_static_local_4() {
655655
656656void test_static_local_5 () {
657657 static int x = 0 ;
658- sink (x); // $ MISSING: ast,ir
658+ sink (x); // $ ir MISSING: ast
659659 x = 0 ;
660660 x = source ();
661661}
662662
663663void test_static_local_6 () {
664664 static int s = source ();
665665 static int * ptr_to_s = &s;
666- sink (*ptr_to_s); // $ MISSING: ast,ir
666+ sink (*ptr_to_s); // $ ir MISSING: ast
667667}
668668
669669void test_static_local_7 () {
@@ -676,7 +676,7 @@ void test_static_local_7() {
676676void test_static_local_8 () {
677677 static int s;
678678 static int * ptr_to_s = &s;
679- sink (*ptr_to_s); // $ MISSING: ast,ir
679+ sink (*ptr_to_s); // $ ir MISSING: ast
680680
681681 s = source ();
682682}
You can’t perform that action at this time.
0 commit comments