On Wed, 15 Jan 2020, Oleg Nesterov wrote:

> On 01/15, Oleg Nesterov wrote:
> >
> > Another question...
>
> Oh, and another one ;)
>
> http://coccinelle.lip6.fr/docs/main_grammar006.html mentions
> "typeof(expr/ctype)", but I failed to find any doc/example of
> how can it be used in SPL.
>
> Could you explain it?

@@
@@

- typeof(foo) x;

That is, you can match against the above code.  But there is no evaluation
of what typeof(foo) actually means.

julia
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to