doubletest.cocci (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) doubletest.cocci (f01701cec8cbb94df209e9705b97abd01c151ba1)
1// SPDX-License-Identifier: GPL-2.0-only
2/// Find &&/|| operations that include the same argument more than once
3//# A common source of false positives is when the expression, or
4//# another expresssion in the same && or || operation, performs a
5//# side effect.
6///
7// Confidence: Moderate
8// Copyright: (C) 2010 Nicolas Palix, DIKU.
9// Copyright: (C) 2010 Julia Lawall, DIKU.
10// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6.
1// SPDX-License-Identifier: GPL-2.0-only
2/// Find &&/|| operations that include the same argument more than once
3//# A common source of false positives is when the expression, or
4//# another expresssion in the same && or || operation, performs a
5//# side effect.
6///
7// Confidence: Moderate
8// Copyright: (C) 2010 Nicolas Palix, DIKU.
9// Copyright: (C) 2010 Julia Lawall, DIKU.
10// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6.
11// URL: http://coccinelle.lip6.fr/
11// URL: https://coccinelle.gitlabpages.inria.fr/website
12// Comments:
13// Options: --no-includes --include-headers
14
15virtual context
16virtual org
17virtual report
18
19@r expression@

--- 40 unchanged lines hidden ---
12// Comments:
13// Options: --no-includes --include-headers
14
15virtual context
16virtual org
17virtual report
18
19@r expression@

--- 40 unchanged lines hidden ---