Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 092db18

Browse files
committed
CPP: Also update reachable for ControlFlowNodes.
1 parent 1092cb9 commit 092db18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/ql/src/semmle/code/cpp/controlflow/ControlFlowGraph.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private cached module Cached {
9595
or
9696
reachable(n.getAPredecessor())
9797
or
98-
n instanceof CatchBlock
98+
n instanceof Handler
9999
}
100100

101101
/** Holds if `condition` always evaluates to a nonzero value. */

0 commit comments

Comments
 (0)