Lines Matching full:branches
6 Checks for repeated branches in ``if/else if/else`` chains, consecutive
7 repeated branches in ``switch`` statements and identical true and false
8 branches in conditional operators.
21 ``then`` and ``else`` branches are identical and the code is equivalent the
35 The check detects repeated branches in longer ``if/else if/else`` chains
57 In ``switch`` statements the check only reports repeated branches when they are
77 Here the check reports that the ``'a'`` and ``'A'`` branches are identical
78 (and that the ``'b'`` and ``'B'`` branches are also identical), but does not
79 report that the ``default:`` branch is also identical to the first two branches.
110 Note: This check also reports situations where branches become identical only