CodeQL library for Go
codeql/go-all 2.1.4-dev (changelog, source)
Search

Predicate ControlFlow::exitNode

Gets the exit node of function or file root.

Import path

import semmle.go.controlflow.ControlFlowGraph
Node exitNode(Root root)