You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Makes bindgen believe that cmdline_token_ops is defined insidecmdline_token_hdr. The reason is that clang inserts a RecorDecl cursor before the field declaration, which we parse thinking it is declared as a child.
We should probably treat this as an unresolved type reference, but that has the unexpected side effect of making the inner_items of a struct/class ResolvedTyperefs, for which we don't generate code.
I believe generating code for them would be ok because we track all the types seen so far, but worth re-checking.
Unfortunately using this super-naive approach would regress other stuff like: