On 2024/8/29 19:24, Hongbo Li wrote:
After str_true_false()/str_false_true() has been introduced
in the tree, we can add rules for finding places where
str_true_false()/str_false_true() can be used.

Hongbo Li (2):
   coccinelle: Add rules to find str_true_false() replacements
   coccinelle: Add rules to find str_false_true() replacements


I found that there are still a few function rules that are not complete, such as str_on_off, str_enable_disable, str_yes_no. How about adding these rules as well?

Thanks,
Hongbo

  scripts/coccinelle/api/string_choices.cocci | 46 +++++++++++++++++++++
  1 file changed, 46 insertions(+)


Reply via email to