Searched defs:CFGStmtMap (Results 1 - 2 of 2) sorted by relevance

/external/clang/include/clang/Analysis/
H A DCFGStmtMap.h1 //===--- CFGStmtMap.h - Map from Stmt* to CFGBlock* -----------*- C++ -*-===//
10 // This file defines the CFGStmtMap class, which defines a mapping from
27 class CFGStmtMap { class in namespace:clang
31 CFGStmtMap(ParentMap *pm, void *m) : PM(pm), M(m) {} function in class:clang::CFGStmtMap
34 ~CFGStmtMap();
38 static CFGStmtMap *Build(CFG* C, ParentMap *PM);
47 return const_cast<CFGStmtMap*>(this)->getBlock(const_cast<Stmt*>(S));
/external/clang/lib/Analysis/
H A DCFGStmtMap.cpp1 //===--- CFGStmtMap.h - Map from Stmt* to CFGBlock* -----------*- C++ -*-===//
10 // This file defines the CFGStmtMap class, which defines a mapping from
18 #include "clang/Analysis/CFGStmtMap.h"
25 CFGStmtMap::~CFGStmtMap() { delete AsMap(M); }
27 CFGBlock *CFGStmtMap::getBlock(Stmt *S) {
78 CFGStmtMap *CFGStmtMap::Build(CFG *C, ParentMap *PM) {
89 return new CFGStmtMap(PM, SM);

Completed in 1404 milliseconds