[Cocci] Question: transform function prototypes with non const struct pointers to const?

2013-10-19 Thread Joe Perches
Any ideas on how to trace call graphs to determine when struct pointer arguments can be converted from non const to const? ___ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci

Re: [Cocci] Question: transform function prototypes with non const struct pointers to const?

2013-10-19 Thread Julia Lawall
On Fri, 18 Oct 2013, Joe Perches wrote: Any ideas on how to trace call graphs to determine when struct pointer arguments can be converted from non const to const? I'm not sure that it is quite possible at the moment. You would need to use iteration, which means you need to pass function