14#ifndef LLVM_CLANG_ANALYSIS_CFGSTMTMAP_H
15#define LLVM_CLANG_ANALYSIS_CFGSTMTMAP_H
28 CFGStmtMap(
ParentMap *pm,
void *m) : PM(pm), M(m) {}
29 CFGStmtMap(
const CFGStmtMap &) =
delete;
30 CFGStmtMap &operator=(
const CFGStmtMap &) =
delete;
46 return const_cast<CFGStmtMap*
>(
this)->
getBlock(
const_cast<Stmt*
>(S));
Represents a single basic block in a source-level CFG.
const CFGBlock * getBlock(const Stmt *S) const
CFGBlock * getBlock(Stmt *S)
Returns the CFGBlock the specified Stmt* appears in.
static CFGStmtMap * Build(CFG *C, ParentMap *PM)
Returns a new CFGMap for the given CFG.
Represents a source-level, intra-procedural CFG that represents the control-flow of a Stmt.
Stmt - This represents one statement.
The JSON file list parser is used to communicate input to InstallAPI.