coccinelle: Add rules to find str_enable{d}_disable{d}() replacements
authorHongbo Li <lihongbo22@huawei.com>
Wed, 11 Sep 2024 01:09:22 +0000 (09:09 +0800)
committerJulia Lawall <Julia.Lawall@inria.fr>
Sat, 28 Sep 2024 19:22:50 +0000 (21:22 +0200)
commitdd2275d349c2f02ceb6cd37f89b8b9920c602488
tree770577d9fb876c1866750c7e2d0a40528e853096
parent5b7ca4507d64de729011c145d8ee9a2731f9502f
coccinelle: Add rules to find str_enable{d}_disable{d}() replacements

As other rules done, we add rules for str_enable{d}_
disable{d}() to check the relative opportunities.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
scripts/coccinelle/api/string_choices.cocci