mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
C++: Annotation field flow tests with [IR] and [AST]
This commit is contained in:
@@ -25,8 +25,8 @@ public:
|
||||
|
||||
void bar(Foo &f)
|
||||
{
|
||||
sink(f.a()); // flow (through `f` and `h`)
|
||||
sink(f.b()); // flow (through `g` and `h`)
|
||||
sink(f.a()); // flow (through `f` and `h`) [NOT DETECTED by IR]
|
||||
sink(f.b()); // flow (through `g` and `h`) [NOT DETECTED by IR]
|
||||
}
|
||||
|
||||
void foo()
|
||||
|
||||
Reference in New Issue
Block a user