All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] Moving a function body to an other source code place with SmPL
@ 2018-05-14 13:10 SF Markus Elfring
  2018-05-14 14:35 ` Julia Lawall
  0 siblings, 1 reply; 8+ messages in thread
From: SF Markus Elfring @ 2018-05-14 13:10 UTC (permalink / raw)
  To: cocci

Hello,

I am curious on how good the Coccinelle software can support a specific
source code transformation:
It would be occasionally nice if an implementation of a function could be
completely stored into a metavariable.
Is a statement list variable appropriate for this use case?

Can these data be moved to an other function (or macro definition)?

Regards,
Markus

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-05-15  7:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-14 13:10 [Cocci] Moving a function body to an other source code place with SmPL SF Markus Elfring
2018-05-14 14:35 ` Julia Lawall
2018-05-14 15:12   ` SF Markus Elfring
2018-05-14 15:15     ` Julia Lawall
2018-05-14 15:26       ` SF Markus Elfring
2018-05-14 15:33         ` Julia Lawall
     [not found]       ` <9507e4af-3a80-f691-e75a-e4ddec1548c8@users.sourceforge.net>
2018-05-14 19:41         ` [Cocci] Checking the support for source code transformations with special characters Julia Lawall
     [not found]       ` <ca7b8507-86e7-dab4-2394-07df379034e7@users.sourceforge.net>
2018-05-15  7:13         ` [Cocci] Checking data processing for statement lists Julia Lawall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.