commit | f584e3752ca7bb1f8849a85816b3c974f1aa67ec | [log] [tgz] |
---|---|---|
author | Hongbo Li <lihongbo22@huawei.com> | Wed Sep 11 09:09:27 2024 +0800 |
committer | Julia Lawall <Julia.Lawall@inria.fr> | Sat Sep 28 21:23:31 2024 +0200 |
tree | 41a49b4e20e135bff59d35ea3a1ac950433ff9fe | |
parent | 253244cdf16a755039f9078b0a785176712f2584 [diff] |
coccinelle: Remove unnecessary parentheses for only one possible change. The parentheses are only needed if there is a disjunction, ie a set of possible changes. If there is only one pattern, we can remove these parentheses. Just like the format: - x + y not: ( - x + y ) Signed-off-by: Hongbo Li <lihongbo22@huawei.com> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>