Module Enclosing
Provides predicates for finding the smallest element that encloses an expression or statement.
Import path
import semmle.code.cpp.EnclosingImports
| cpp | Provides classes and predicates for working with C/C++ code. |
Predicates
| exprEnclosingElement | Gets the enclosing element of expression |
| stmtEnclosingElement | Gets the enclosing element of statement |