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

Predicate stmtEnclosingElement

Gets the enclosing element of statement s.

Import path

import semmle.code.cpp.Enclosing
Element stmtEnclosingElement(Stmt s)