Re: [PATCH] coccinelle: Add str_off_on() and str_no_yes() rules

From: Andy Shevchenko
Date: Sun Oct 27 2024 - 11:07:29 EST


On Sun, Oct 27, 2024 at 2:59 PM Thorsten Blum <thorsten.blum@xxxxxxxxx> wrote:
>
> In addition to str_on_off() and str_yes_no(), add rules to search for
> str_off_on() and str_no_yes() replacements.

I don't know cocci well enough, but this does simply not scale. We
also have cases where "Yes"/"No", "YES"/"NO" and all possible
variations of that.


--
With Best Regards,
Andy Shevchenko