* Re: [Cocci] Source code transformations around g_autoptr()
@ 2020-02-08 9:20 Markus Elfring
0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2020-02-08 9:20 UTC (permalink / raw)
To: Julia Lawall, Pan Nengyuan, Coccinelle; +Cc: Kuhn Chenqun
> > 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-08 9:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-08 9:20 [Cocci] Source code transformations around g_autoptr() Markus Elfring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).