Module Enclosing
Provides predicates for finding the smallest element that encloses an expression or statement.
Import path
import semmle.code.cpp.Enclosing
Imports
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 |