Skip to content
Snippets Groups Projects
  1. May 06, 2024
  2. Sep 12, 2022
  3. Sep 09, 2022
    • Virgile Prevosto's avatar
      [kernel] fix ast-diff on code with forward-decl of struct · c028c472
      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.
      c028c472
  4. May 03, 2022
Loading