CodeQL library for C/C++
Search

Member predicate Stmt::getEnclosingFunction

Gets the enclosing function of this statement, if any.

Function getEnclosingFunction()