Skip to content
Snippets Groups Projects
Commit c028c472 authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[kernel] fix ast-diff on code with forward-decl of struct

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.
parent 0ca4524a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment