CodeQL library for Go
codeql/go-all 1.1.2-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)