C++: Annotation field flow tests with [IR] and [AST]

This commit is contained in:
Mathias Vorreiter Pedersen
2020-05-13 15:16:02 +02:00
parent f5e491caf0
commit 34314d0cb6
11 changed files with 42 additions and 42 deletions

View File

@@ -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()