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

Member predicate Expr::getEnclosingDeclaration

Gets the enclosing variable or function of this expression.

Declaration getEnclosingDeclaration()