All of lore.kernel.org
 help / color / mirror / Atom feed
From: christof@warlich.name (Christof Warlich)
To: cocci@systeme.lip6.fr
Subject: [Cocci] adding function declarations
Date: Fri, 02 Jan 2015 11:22:09 +0100	[thread overview]
Message-ID: <54A67151.5080408@warlich.name> (raw)
In-Reply-To: <alpine.DEB.2.02.1501011829330.2060@localhost6.localdomain6>

Am 01.01.2015 um 18:33 schrieb Julia Lawall:

 > Unfortunately, your seemingly simple request raises some issues :)

 > First, you should apply the patch below to Coccinelle version 
1.0.0-rc23 (the latest version)

It looks like you missed to include the patch you mentioned: I couldn't 
find anything appropriate to apply to the Coccinelle source code. Thus, 
I'm still playing with an unpatched version 1.0.0-rc23.

 > For some reason, the semantic patch parser is not allowing me to put
 > inline in the prototype. I will look into it and send another patch.
 >
 > Also for the following file:
 >
 > static inline __attribute__((always_inline)) int foo(int x) {
 >     return x;
 > }
 >
 > the output is missing a space before the attribute:
 > ...

Yes, I could reproduce both using 1.0.0-rc23.

 > I will look into this as well.

Again, many thanks for your help and your precious  time: So I'll 
patiently wait for a patch :-). But please let me know if anything else 
can be done on my side.

Cheers,

Chris

  reply	other threads:[~2015-01-02 10:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-01 14:43 [Cocci] adding function declarations Christof Warlich
2015-01-01 16:02 ` Julia Lawall
2015-01-01 19:06   ` Christof Warlich
2015-01-01 19:54     ` Julia Lawall
2015-01-01 23:50       ` Christof Warlich
2015-01-02  6:05         ` Julia Lawall
2015-01-02  8:23           ` Christof Warlich
2015-01-01 17:33 ` Julia Lawall
2015-01-02 10:22   ` Christof Warlich [this message]
2015-01-02 10:30     ` Julia Lawall
2015-01-02 11:11       ` Christof Warlich

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=54A67151.5080408@warlich.name \
    --to=christof@warlich.name \
    --cc=cocci@systeme.lip6.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.