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

Predicate functionExit

Holds if exit is the exit node of a function.

Import path

import cpp
predicate functionExit(ControlFlowNode exit)