> I think I have a test case that is minimal.

How do you think about to try a bit more fine-tuning out for the shown
Coccinelle scripts?

How much will it matter for your change pattern to specify only the
deletion of the qualifier "const" from a data type of a function
parameter while leaving the corresponding metavariable "T" untouched?

@removal@
identifier F, I;
type T;
@@
 F(...,
-  const
   T I,
  ...
 );


By the way: Do you care how often a "const" might appear within a data type?

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

Reply via email to