Skip to content

Commit dcb3494

Browse files
committed
C++: fix comment formatting
1 parent aff4066 commit dcb3494

File tree

1 file changed

+4
-3
lines changed
  • cpp/ql/lib/semmle/code/cpp/rangeanalysis/new/internal/semantic

1 file changed

+4
-3
lines changed

cpp/ql/lib/semmle/code/cpp/rangeanalysis/new/internal/semantic/SemanticSSA.qll

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,13 @@ predicate semBackEdge(SemSsaPhiNode phi, SemSsaVariable inp, SemSsaReadPositionP
7878
/**
7979
* Holds if the edge from b1 to b2 is part of a multiple-entry cycle in an irreducible control flow
8080
* graph.
81-
*
81+
*
8282
* An ireducible control flow graph is one where the usual dominance-based back edge detection does
8383
* not work, because there is a cycle with multiple entry points, meaning there are
8484
* mutually-reachable basic blocks where neither dominates the other. For such a graph, we first
85-
* all detectable back-edges using the normal condition that the predecessor block is dominated by
86-
* the successor block, then mark all edges in a cycle in the resulting graph as back edges.
85+
* remove all detectable back-edges using the normal condition that the predecessor block is
86+
* dominated by the successor block, then mark all edges in a cycle in the resulting graph as back
87+
* edges.
8788
*/
8889
private predicate irreducibleSccEdge(SemBasicBlock b1, SemBasicBlock b2) {
8990
trimmedEdge(b1, b2) and trimmedEdge+(b2, b1)

0 commit comments

Comments
 (0)