1 // SPDX-License-Identifier: GPL-2.0-only
3 /// Condition !A || A && B is equivalent to !A || B.
6 // Copyright: (C) 2020 Denis Efremov ISPRAS
7 // Options: --no-includes --include-headers
29 @script:python depends on report@
33 coccilib.report.print_report(p[0], "WARNING !A || A && B is equivalent to !A || B")
35 @script:python depends on org@
39 coccilib.org.print_todo(p[0], "WARNING !A || A && B is equivalent to !A || B")