Re: [cocci] Checking SmPL support for two special expressions
Julia Lawall <[email protected]>
| Newsgroups | fr.inria.cocci |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 12 Nov 2025, Markus Elfring wrote: > >>> Coccinelle doesn't know these types. You have to declare them with typedef. > >> > >> Are type definitions really required for the handling of casts? > > > > Yes. There is a potential parsing ambiguity otherwise, I believe. > > How interesting is it that I can recognise casts also without extra type definitions? Not interesting. Sometimes it can infer them. julia > > Regards, > Markus >