Skip to content

Commit e93dc0b

Browse files
committed
C++: Fix comment in getGuardedUpperBound
1 parent ebdda88 commit e93dc0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/rangeanalysis/SimpleRangeAnalysis.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ private float getGuardedUpperBound(VariableAccess guardedAccess) {
15441544
// more than one predecessor, the guard phi node could originate
15451545
// from one of the predecessors. This is because the guard phi
15461546
// node is attached to the block at the end of the edge and not on
1547-
// the actual edge. It is therefore possible to determine which
1547+
// the actual edge. It is therefore not possible to determine which
15481548
// edge the guard phi node belongs to. The predicate below ensures
15491549
// that there is one predecessor, albeit somewhat conservative.
15501550
exists(unique(BasicBlock b | b = def.(BasicBlock).getAPredecessor())) and

0 commit comments

Comments
 (0)