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

Member predicate Element::getParentScope

Gets the parent scope of this Element, if any. A scope is a Type (Class / Enum), a Namespace, a BlockStmt, a Function, or certain kinds of Statement.

Element getParentScope()