cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
From: Timur Tabi <timur@kernel.org>
To: SF Markus Elfring <elfring@users.sourceforge.net>
Cc: cocci@systeme.lip6.fr
Subject: Re: [Cocci] Source code adjustments in header files?
Date: Wed, 23 Jan 2019 10:14:57 -0600	[thread overview]
Message-ID: <bf98d42f-2859-7e54-2a9f-81a8ecf10c2c@kernel.org> (raw)
In-Reply-To: <b73ba628-ee07-5962-0f17-72cebfa14954@users.sourceforge.net>

On 1/23/19 7:28 AM, SF Markus Elfring wrote:
>> It seems to me for my DBG_PRINTF changes, I definitely want --no-includes.

> How do you think about to adjust any macro calls also in header files?

When I specify a file name on the spatch command line, I don't want any 
other file modified.  If I wanted to modify a header file, I'd tell 
spatch to modify that header file.
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

      parent reply	other threads:[~2019-01-23 16:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-22 19:31 [Cocci] Fatal exception in spatch when #include file does not exist Timur Tabi
2019-01-22 19:44 ` Julia Lawall
2019-01-22 20:39   ` Timur Tabi
2019-01-22 20:48     ` Julia Lawall
2019-01-22 22:06       ` Timur Tabi
     [not found]         ` <b73ba628-ee07-5962-0f17-72cebfa14954@users.sourceforge.net>
2019-01-23 16:14           ` Timur Tabi [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=bf98d42f-2859-7e54-2a9f-81a8ecf10c2c@kernel.org \
    --to=timur@kernel.org \
    --cc=cocci@systeme.lip6.fr \
    --cc=elfring@users.sourceforge.net \
    /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 NNTP newsgroup(s).