From: elfring@users.sourceforge.net (SF Markus Elfring)
To: cocci@systeme.lip6.fr
Subject: [Cocci] Find all variables/parameters of a given type.
Date: Fri, 16 Jan 2015 21:05:43 +0100 [thread overview]
Message-ID: <54B96F17.8080206@users.sourceforge.net> (raw)
In-Reply-To: <559AE227-484E-42F1-94ED-DB703D630EE3@gmail.com>
> Rule for function declaration doesn?t (gives parse error too).
Will the semantic filter approach work better if you specify
a return type for the searched functions explicitly?
@find_integer_within_function_declaration@
identifier func, var;
type return_type;
@@
return_type
func(...,
* long var,
...);
)
@find_integer_from_function_definition@
identifier func, var;
type return_type;
@@
return_type
func(...,
* long var,
...)
{ ... }
> Can I be added to such list, or is it somehow restricted?
Would you like to subscribe to this mailing list?
http://coccinelle.lip6.fr/contact.php
Regards,
Markus
next prev parent reply other threads:[~2015-01-16 20:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-16 12:42 [Cocci] Find all variables/parameters of a given type Eliseo Martínez
2015-01-16 17:51 ` Julia Lawall
2015-01-16 17:55 ` SF Markus Elfring
2015-01-16 18:10 ` Julia Lawall
2015-01-16 18:21 ` [Cocci] Support for function definitions within SmPL disjunctions? SF Markus Elfring
2015-01-16 18:36 ` [Cocci] Find all variables/parameters of a given type SF Markus Elfring
2015-01-16 19:18 ` Eliseo Martínez
2015-01-16 20:05 ` SF Markus Elfring [this message]
2015-01-16 20:22 ` Julia Lawall
2015-01-16 21:25 ` Eliseo Martínez
2015-01-16 20:11 ` 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=54B96F17.8080206@users.sourceforge.net \
--to=elfring@users.sourceforge.net \
--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.