Skip to content

Commit 032574f

Browse files
committed
Make succ0 private
1 parent 6ecf6ea commit 032574f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

go/ql/lib/semmle/go/controlflow/ControlFlowGraphImpl.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2082,7 +2082,9 @@ module CFG {
20822082

20832083
/** Gets a successor of `nd`, that is, a node that is executed after `nd`. */
20842084
cached
2085-
ControlFlow::Node succ0(ControlFlow::Node nd) { any(ControlFlowTree tree).succ0(nd, result) }
2085+
private ControlFlow::Node succ0(ControlFlow::Node nd) {
2086+
any(ControlFlowTree tree).succ0(nd, result)
2087+
}
20862088

20872089
/** Gets a successor of `nd`, that is, a node that is executed after `nd`. */
20882090
cached

0 commit comments

Comments
 (0)