All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] Avoiding code duplication for SmPL constraints
@ 2018-02-17 13:34 SF Markus Elfring
  2018-02-17 13:39 ` Julia Lawall
  0 siblings, 1 reply; 5+ messages in thread
From: SF Markus Elfring @ 2018-02-17 13:34 UTC (permalink / raw)
  To: cocci

Hello,

Constraints can be specified for metavariables of the semantic patch language.
I noticed that they can trigger software maintenance challenges
when bigger specifications are repeated in some SmPL rules.
Now I am looking again for further possibilities to avoid corresponding
code duplication.

* Scripted constraints might be a design option.
  Unfortunately, I find the documentation for this functionality still incomplete.

* I imagine that it would nice if constraints could be set by programming script
  rules at a single place.

Regards,
Markus

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

end of thread, other threads:[~2018-02-17 14:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-17 13:34 [Cocci] Avoiding code duplication for SmPL constraints SF Markus Elfring
2018-02-17 13:39 ` Julia Lawall
     [not found]   ` <388d5af8-d3e4-ee18-7481-3675e2b52024@users.sourceforge.net>
2018-02-17 14:11     ` Julia Lawall
     [not found]       ` <9d550db4-cad4-f625-32da-173078fdde54@users.sourceforge.net>
2018-02-17 14:34         ` [Cocci] Clarification for scripted " Julia Lawall
2018-02-17 14:54           ` SF Markus Elfring

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.