From: Markus Elfring <Markus.Elfring@web.de>
To: Julia Lawall <julia.lawall@inria.fr>, cocci@systeme.lip6.fr
Subject: Re: [Cocci] Replacing the type casting
Date: Sat, 8 Feb 2020 20:06:19 +0100 [thread overview]
Message-ID: <6bff29ca-8cb6-66f8-a470-34c0c1734363@web.de> (raw)
> > I must be missing something very obvious as just removing the type works, but adding the `+ (dns_rdatacommon_t *)` line makes the rule fail.
>
> Coccinelle is not able to infer typedefs in casts.
Under which circumstances can this software situation be reconsidered?
How long will an extra metavariable specification like “typedef dns_rdatacommon_t;”
be needed for the mentioned transformation approach?
Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci
next reply other threads:[~2020-02-08 19:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-08 19:06 Markus Elfring [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-02-08 19:44 [Cocci] Replacing the type casting Markus Elfring
2020-02-08 20:09 ` Ondřej Surý
2020-02-08 20:37 ` Markus Elfring
2020-02-08 13:48 Ondřej Surý
2020-02-08 16:07 ` 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=6bff29ca-8cb6-66f8-a470-34c0c1734363@web.de \
--to=markus.elfring@web.de \
--cc=cocci@systeme.lip6.fr \
--cc=julia.lawall@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 NNTP newsgroup(s).