From: PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
To: cocci@inria.fr
Subject: [cocci] how to write an spatch in order to replace guard vs #prama once
Date: Tue, 11 Feb 2025 18:35:52 +0100 (CET) [thread overview]
Message-ID: <537594832.54620672.1739295352359.JavaMail.zimbra@synchrotron-soleil.fr> (raw)
Hello,
I am trying to write an spatch in order to replace in my code, the header guard, by the #pragma once.
Is there somewhere a repository of spatches, where I can inspire myself ?
thanks for your help
Frederic
next reply other threads:[~2025-02-11 17:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-11 17:35 PICCA Frederic-Emmanuel [this message]
2025-02-11 17:44 ` [cocci] how to write an spatch in order to replace guard vs #prama once Julia Lawall
2025-02-11 17:47 ` PICCA Frederic-Emmanuel
2025-02-11 17:52 ` Julia Lawall
2025-02-11 17:59 ` PICCA Frederic-Emmanuel
2025-02-11 18:04 ` Markus Elfring
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=537594832.54620672.1739295352359.JavaMail.zimbra@synchrotron-soleil.fr \
--to=frederic-emmanuel.picca@synchrotron-soleil.fr \
--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).