Coccinelle archive mirror
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@inria.fr>
To: Markus Elfring <Markus.Elfring@web.de>
Cc: cocci@inria.fr
Subject: Re: [cocci] Improving support for return macro variants with SmPL?
Date: Tue, 26 Mar 2024 10:54:56 -0400 (EDT)	[thread overview]
Message-ID: <d6eba12-db3c-c2e-5f77-b5c59776be2@inria.fr> (raw)
In-Reply-To: <0264b7c7-99bc-42bb-a8cc-1cd247f34d96@web.de>

[-- Attachment #1: Type: text/plain, Size: 665 bytes --]



On Tue, 26 Mar 2024, Markus Elfring wrote:

> 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

I don't have any plan to do that.

julia

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

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

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=d6eba12-db3c-c2e-5f77-b5c59776be2@inria.fr \
    --to=julia.lawall@inria.fr \
    --cc=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 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 read-only IMAP folder(s) and NNTP newsgroup(s).