mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
C++: Modify IR field flow tests to use InlineExpectationsTest.qll
This commit is contained in:
@@ -25,8 +25,8 @@ public:
|
||||
|
||||
void bar(Foo &f)
|
||||
{
|
||||
sink(f.a()); // flow (through `f` and `h`) [NOT DETECTED by IR]
|
||||
sink(f.b()); // flow (through `g` and `h`) [NOT DETECTED by IR]
|
||||
sink(f.a()); //$ast=flow 34:11 $ast=flow 36:11 $f-:ir=flow
|
||||
sink(f.b()); //$ast=flow 35:14 $ast=flow 36:25 $f-:ir=flow
|
||||
}
|
||||
|
||||
void foo()
|
||||
|
||||
Reference in New Issue
Block a user