[Cocci] Excluding a function from Coccinelle transformation

Jeff King peff at peff.net
Sun Aug 26 08:36:49 CEST 2018


On Sat, Aug 25, 2018 at 12:23:11PM +0200, SF Markus Elfring wrote:

> > I don't think speed is critical for our use case. I mostly wanted to see
> > if the angle-bracket approach was intolerably slow (it's not,
> > which makes it an acceptable tradeoff against the need to have spatch
> > built with python support). And I found the speed difference between
> > the two versions mostly a curiosity.
> 
> I am curious if your software behaviour expectations will vary any more.
> Will the mentioned run time differences accumulate to more meaningful
> numbers over time?

Maybe. My plan is to cross that bridge when we come to it.

> Would you dare to take the application of the SmPL construct “<+... … ...+>”
> into account?
> http://coccinelle.lip6.fr/docs/main_grammar004.html

I don't know what you mean by "dare". Are you suggesting that the "<+"
form might solve my problem better?

-Peff


More information about the Cocci mailing list