mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
Merge branch 'main' into mathiasvp/replace-ast-with-ir-use-usedataflow
This commit is contained in:
@@ -99,6 +99,9 @@ postWithInFlow
|
||||
| test.cpp:526:3:526:4 | * ... [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| test.cpp:526:4:526:4 | e [inner post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| test.cpp:531:40:531:40 | e [inner post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| test.cpp:537:5:537:6 | * ... [post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| test.cpp:537:6:537:6 | p [inner post update] | PostUpdateNode should not be the target of local flow. |
|
||||
| test.cpp:542:23:542:23 | x [inner post update] | PostUpdateNode should not be the target of local flow. |
|
||||
viableImplInCallContextTooLarge
|
||||
uniqueParameterNodeAtPosition
|
||||
uniqueParameterNodePosition
|
||||
|
||||
@@ -530,4 +530,14 @@ void test_set_through_const_pointer(int *e)
|
||||
{
|
||||
set_through_const_pointer(source(), &e);
|
||||
sink(*e); // $ ir MISSING: ast
|
||||
}
|
||||
}
|
||||
|
||||
void sink_then_source(int* p) {
|
||||
sink(*p);
|
||||
*p = source(); // $ SPURIOUS: ir=537:10 ir=541:9
|
||||
}
|
||||
|
||||
void test_sink_then_source() {
|
||||
int x;
|
||||
sink_then_source(&x);
|
||||
}
|
||||
|
||||
@@ -37,3 +37,4 @@
|
||||
| test.cpp:517:7:517:16 | stackArray | test.cpp:519:3:519:12 | stackArray |
|
||||
| test.cpp:517:7:517:16 | stackArray | test.cpp:520:3:520:12 | stackArray |
|
||||
| test.cpp:517:7:517:16 | stackArray | test.cpp:521:8:521:17 | stackArray |
|
||||
| test.cpp:541:9:541:9 | x | test.cpp:542:23:542:23 | x |
|
||||
|
||||
Reference in New Issue
Block a user