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

Predicate stmtEnclosingElement

Gets the enclosing element of statement s.

Import path

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