clang 17.0.0git
|
Public Member Functions | |
StmtToEnvMapImpl (const ControlFlowContext &CFCtx, llvm::ArrayRef< std::optional< TypeErasedDataflowAnalysisState > > BlockToState) | |
const Environment * | getEnvironment (const Stmt &S) const override |
Returns the environment of the basic block that contains S or nullptr if there isn't one. | |
![]() | |
virtual | ~StmtToEnvMap ()=default |
virtual const Environment * | getEnvironment (const Stmt &S) const =0 |
Returns the environment of the basic block that contains S or nullptr if there isn't one. | |
Definition at line 43 of file TypeErasedDataflowAnalysis.cpp.
|
inline |
Definition at line 45 of file TypeErasedDataflowAnalysis.cpp.
|
inlineoverridevirtual |
Returns the environment of the basic block that contains S
or nullptr if there isn't one.
FIXME: Ensure that the result can't be null and return a const reference.
Implements clang::dataflow::StmtToEnvMap.
Definition at line 51 of file TypeErasedDataflowAnalysis.cpp.
References clang::dataflow::ControlFlowContext::getStmtToBlock(), and clang::dataflow::ignoreCFGOmittedNodes().