|
clang 22.0.0git
|
#include "clang/Analysis/CFGStmtMap.h"
Public Member Functions | |
| CFGStmtMap (const CFG &C, const ParentMap &PM) | |
| const CFGBlock * | getBlock (const Stmt *S) const |
| Returns the CFGBlock the specified Stmt* appears in. | |
Definition at line 25 of file CFGStmtMap.h.
Definition at line 36 of file CFGStmtMap.cpp.
References clang::C.
Returns the CFGBlock the specified Stmt* appears in.
For Stmt* that are terminators, the CFGBlock is the block they appear as a terminator, and not the block they appear as a block-level expression (e.g, '&&'). CaseStmts and LabelStmts map to the CFGBlock they label.
Definition at line 21 of file CFGStmtMap.cpp.
References X.
Referenced by clang::ento::CallEvent::getCalleeStackFrame(), clang::ento::ExplodedNode::getCFGBlock(), and clang::ento::SuppressInlineDefensiveChecksVisitor::VisitNode().