File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
cpp/ql/test/library-tests/dataflow/fields Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ void bar(Outer &b)
48
48
// in _some_ access path somewhere in the search. That makes the library conclude
49
49
// that there could be flow to `b.inner.f.a_` even when the flow was actually to
50
50
// `b.inner.f.b_`.
51
- sink (b.inner .f .a ()); // $ast=62:19 $f+:ast=63:19 $ast=64:19 $f+:ast=65:19 $ir=62:19 $ir=64 :19
52
- sink (b.inner .f .b ()); // $f+:ast=62:19 $ast=63:19 $f+:ast=64:19 $ast=65:19 $ir=63 :19 $ir=65:19
51
+ sink (b.inner .f .a ()); // $ast=62:19 $f+:ast=63:19 $ast=64:19 $f+:ast=65:19 $ir=62:19 $f+: ir=63:19 $ir=64:19 $f+:ir=65 :19
52
+ sink (b.inner .f .b ()); // $f+:ast=62:19 $ast=63:19 $f+:ast=64:19 $ast=65:19 $f+: ir=62:19 $ir=63:19 $f+:ir=64 :19 $ir=65:19
53
53
}
54
54
55
55
void foo ()
Original file line number Diff line number Diff line change 1
- | complex.cpp:51:18:51:18 | call to a | Unexpected result: ir=63:19 |
2
- | complex.cpp:51:18:51:18 | call to a | Unexpected result: ir=65:19 |
3
- | complex.cpp:52:18:52:18 | call to b | Unexpected result: ir=62:19 |
4
- | complex.cpp:52:18:52:18 | call to b | Unexpected result: ir=64:19 |
You can’t perform that action at this time.
0 commit comments