Skip to content

Commit dfd25f7

Browse files
committed
Add pragma[nomagic] to top-level succ0 and remove cached
1 parent 90f07d2 commit dfd25f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@ module CFG {
21112111
* Gets a successor of `nd`, that is, a node that is executed after `nd`,
21122112
* ignoring the execution of any deferred functions when a function ends.
21132113
*/
2114-
cached
2114+
pragma[nomagic]
21152115
private ControlFlow::Node succ0(ControlFlow::Node nd) {
21162116
any(ControlFlowTree tree).succ0(nd, result)
21172117
}

0 commit comments

Comments
 (0)