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

--- 41 unchanged lines hidden ---
11// URL: http://coccinelle.lip6.fr/
12// Comments:
13// Options: --no-includes --include-headers
14
15virtual context
16virtual org
17virtual report
18

--- 41 unchanged lines hidden ---