> > minus: parse error:
> >   File "test.cocci", line 3, column 15, charpos = 38
> >   around = 'p',
> >   whole content = - g_autoptr(d) p;
> >
> >
> > is it correct?
>
> No, Coccinelle knows nothing about these things.

How are the chances to improve the software situation
for the safe handling of macros besides the extension
of a source file like “standard.h”?
https://developer.gnome.org/glib/stable/glib-Miscellaneous-Macros.html#g-autoptr

Will an additional configuration file be occasionally helpful?
https://github.com/coccinelle/coccinelle/blob/7ec31ed1fadf738bc487ccefdc63bfe0598f44cc/docs/manual/spatch_options.tex#L384

Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to