15 #include "llvm/ADT/DenseMap.h"
20 using namespace clang;
22 typedef llvm::DenseMap<const Stmt*, CFGBlock*>
SMap;
34 SMap::iterator I = SM->find(X);
57 CFGBlock *&Entry = SM[CS->getStmt()];
static void Accumulate(SMap &SM, CFGBlock *B)
CFGBlock * getBlock(Stmt *S)
ElementList::iterator iterator
CFGTerminator getTerminator()
Stmt * getParentIgnoreParens(Stmt *) const
static CFGStmtMap * Build(CFG *C, ParentMap *PM)
static SMap * AsMap(void *m)
CFGElement - Represents a top-level expression in a basic block.
llvm::DenseMap< const Stmt *, CFGBlock * > SMap
Optional< T > getAs() const
Convert to the specified CFGElement type, returning None if this CFGElement is not of the desired typ...