On Tue, 23 Jul 2019, ron minnich wrote:

> I apologize if this has been asked.
>
> In the coreboot project, due to its long history, we have lots of
> conditionals and such with old school ints as conditional, and the
> question was raised about fixing this.
>
> Has this been done with spatch and is there an example I can loo for?

Quentin Lambert (added to CC) did a lot of work on this.  I don't know
where is the complete semantic patch that he developed.  The semantic
patch provided in the following commit could be useful:

2f119c7895af56ca26b8e94f4650145a4b1b0d12

julia

>
> thanks
>
> ron
> _______________________________________________
> Cocci mailing list
> [email protected]
> https://systeme.lip6.fr/mailman/listinfo/cocci
>
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to