All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: cocci@inria.fr
Subject: [cocci] Improving support for return macro variants with SmPL?
Date: Tue, 26 Mar 2024 14:26:48 +0100	[thread overview]
Message-ID: <0264b7c7-99bc-42bb-a8cc-1cd247f34d96@web.de> (raw)

Hello,

The semantic patch language provides special support for “Linux iterators”.
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/0011af1760e37caada1f9d48e2c549bd519bf203/docs/manual/cocci_syntax.tex#L471
https://github.com/coccinelle/coccinelle/blob/0011af1760e37caada1f9d48e2c549bd519bf203/docs/manual/cocci_syntax.tex#L471

Will a need evolve to extend data processing support in similar ways
for macro variants (like “return_ptr(p)”) which indicate return statements?
https://elixir.bootlin.com/linux/v6.8.1/source/include/linux/cleanup.h#L78

Regards,
Markus

             reply	other threads:[~2024-03-26 13:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-26 13:26 Markus Elfring [this message]
2024-03-26 14:54 ` [cocci] Improving support for return macro variants with SmPL? Julia Lawall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0264b7c7-99bc-42bb-a8cc-1cd247f34d96@web.de \
    --to=markus.elfring@web.de \
    --cc=cocci@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.