1 // SPDX-License-Identifier: GPL-2.0-only
2 /// Find places to use string_choices.h's various helpers.
5 // Options: --no-includes --include-headers
10 @str_plural depends on patch@
14 - ((E == 1) ? "" : "s")
17 - ((E != 1) ? "s" : "")
20 - ((E > 1) ? "s" : "")
24 @str_plural_r depends on !patch exists@
29 * ((E@P == 1) ? "" : "s")
31 * ((E@P != 1) ? "s" : "")
33 * ((E@P > 1) ? "s" : "")
36 @script:python depends on report@
41 coccilib.report.print_report(p[0], "opportunity for str_plural(%s)" % e)