Merge branch 'main' into mathiasvp/replace-ast-with-ir-use-usedataflow

This commit is contained in:
Mathias Vorreiter Pedersen
2023-01-23 15:49:36 +00:00
942 changed files with 231363 additions and 11593 deletions

View File

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

View File

@@ -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);
}

View File

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