CodeQL library for C/C++
codeql/cpp-all 4.0.3-dev (changelog, source)
Search

Predicate functionExit

Holds if exit is the exit node of a function.

Import path

import cpp
predicate functionExit(ControlFlowNode exit)