- May 06, 2024
-
-
- Sep 12, 2022
-
-
Virgile Prevosto authored
-
- Sep 09, 2022
-
-
Virgile Prevosto authored
In presence of the following pattern of code: ```c struct S; enum { t = 1 }; struct S { char[t]; }; ``` -ast-diff will attempt to compare the use of `t` in the field declaration before having visited the `enum` definition. Thus, we can't rely on an enumitem being present in the correspondance table when looking for a correspondance.
-
- May 03, 2022
-
-
-
same issue as with compinfo
-
-
it turns out that not all global varinfos are stored in Globals.Vars...
-
same reason as for locals: latter formals can refer to former ones
-
a local can be referenced in the type of another one, hence we can't compare them in the same environment and update said environment afterwards.
-
actually, we visit the spec of a function at its first occurrence, so that it is possible that some global logic definitions that are used in the constract haven't been visited yet.
-
Specifically if a global declaration `x` occurs between a function declaration `f` and the definition of `f` which uses `x`
-
-
-
also working oracle for AST diff test
-