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

Member predicate UserType::getEnclosingFunction

Gets the function that directly encloses this type (if any).

Function getEnclosingFunction()