coccinelle: Add rules to find str_lo{w}_hi{gh}() replacements
authorHongbo Li <lihongbo22@huawei.com>
Wed, 11 Sep 2024 01:09:21 +0000 (09:09 +0800)
committerJulia Lawall <Julia.Lawall@inria.fr>
Sat, 28 Sep 2024 19:22:38 +0000 (21:22 +0200)
commit5b7ca4507d64de729011c145d8ee9a2731f9502f
tree32b8212df4ab02db23dce620f6239d4218f1e9a8
parentd4c7544002db32dedbb162b2b89e655ac437ab08
coccinelle: Add rules to find str_lo{w}_hi{gh}() replacements

As other rules done, we add rules for str_lo{w}_hi{gh}()
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