[Cocci] keeping cast affects match?

Wolfram Sang wsa at the-dreams.de
Wed Feb 17 16:19:57 CET 2016


> like this, it can be better to just pull the common part out into the
> context.

That was definately the case here. After doing that for the other three
rules I had, two of them became identical :) Also, I got more matches,
because there was context I had not anticipated yet. Big win!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://systeme.lip6.fr/pipermail/cocci/attachments/20160217/d74e0b87/attachment.asc>


More information about the Cocci mailing list