class CFGStmtMap
Declaration
class CFGStmtMap { /* full declaration omitted */ };
Declared at: clang/include/clang/Analysis/CFGStmtMap.h:24
Member Variables
- private clang::ParentMap* PM
- private void* M
Method Overview
- public static clang::CFGStmtMap * Build(clang::CFG * C, clang::ParentMap * PM)
- private CFGStmtMap(clang::ParentMap * pm, void * m)
- public clang::CFGBlock * getBlock(clang::Stmt * S)
- public const clang::CFGBlock * getBlock(const clang::Stmt * S) const
- public ~CFGStmtMap()
Methods
¶static clang::CFGStmtMap* Build(
clang::CFG* C,
clang::ParentMap* PM)
static clang::CFGStmtMap* Build(
clang::CFG* C,
clang::ParentMap* PM)
Description
Returns a new CFGMap for the given CFG. It is the caller's responsibility to 'delete' this object when done using it.
Declared at: clang/include/clang/Analysis/CFGStmtMap.h:35
Parameters
- clang::CFG* C
- clang::ParentMap* PM
¶CFGStmtMap(clang::ParentMap* pm, void* m)
CFGStmtMap(clang::ParentMap* pm, void* m)
Declared at: clang/include/clang/Analysis/CFGStmtMap.h:28
Parameters
- clang::ParentMap* pm
- void* m
¶clang::CFGBlock* getBlock(clang::Stmt* S)
clang::CFGBlock* getBlock(clang::Stmt* S)
Description
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.
Declared at: clang/include/clang/Analysis/CFGStmtMap.h:41
Parameters
- clang::Stmt* S
¶const clang::CFGBlock* getBlock(
const clang::Stmt* S) const
const clang::CFGBlock* getBlock(
const clang::Stmt* S) const
Declared at: clang/include/clang/Analysis/CFGStmtMap.h:43
Parameters
- const clang::Stmt* S
¶~CFGStmtMap()
~CFGStmtMap()
Declared at: clang/include/clang/Analysis/CFGStmtMap.h:31