clang
6.0.0
|
#include "clang/Analysis/CFGStmtMap.h"
Public Member Functions | |
~CFGStmtMap () | |
CFGBlock * | getBlock (Stmt *S) |
Returns the CFGBlock the specified Stmt* appears in. More... | |
const CFGBlock * | getBlock (const Stmt *S) const |
Static Public Member Functions | |
static CFGStmtMap * | Build (CFG *C, ParentMap *PM) |
Returns a new CFGMap for the given CFG. More... | |
Definition at line 27 of file CFGStmtMap.h.
CFGStmtMap::~CFGStmtMap | ( | ) |
Definition at line 25 of file CFGStmtMap.cpp.
References AsMap().
|
static |
Returns a new CFGMap for the given CFG.
It is the caller's responsibility to 'delete' this object when done using it.
Definition at line 78 of file CFGStmtMap.cpp.
References SM.
Referenced by clang::AnalysisDeclContext::getCFGStmtMap().
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 27 of file CFGStmtMap.cpp.
Referenced by findBlockForNode(), getBlock(), and clang::ento::SuppressInlineDefensiveChecksVisitor::VisitNode().
Definition at line 46 of file CFGStmtMap.h.
References getBlock().