On Thu, 6 Nov 2014, Jonathan Klee wrote:

> Dear all,
> 
> Since "..." basically means anything, I was wondering if we can match "..."
> va_list kind of arguments in a function prototype.
> I would like to do something like :
> 
> @@
> identifier f, a;
> type T, A;
> @@
> -T f(A a, ...);
> +T f(A a, ...) { va_list args; va_start(args, a); va_stop(args); }

It is currently not supported, but someone is working on it.  I hope that 
it could be available in a couple of weeks (the person only works on 
Coccinelle part time).

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

Reply via email to