Lines Matching refs:Stmt
21 typedef llvm::DenseMap<Stmt*, Stmt*> MapTy;
28 static void BuildParentMap(MapTy& M, Stmt* S,
32 case Stmt::PseudoObjectExprClass: {
47 case Stmt::BinaryConditionalOperatorClass: {
65 case Stmt::OpaqueValueExprClass:
73 for (Stmt::child_range I = S->children(); I; ++I) {
83 ParentMap::ParentMap(Stmt* S) : Impl(0) {
95 void ParentMap::addStmt(Stmt* S) {
101 Stmt* ParentMap::getParent(Stmt* S) const {
107 Stmt *ParentMap::getParentIgnoreParens(Stmt *S) const {
112 Stmt *ParentMap::getParentIgnoreParenCasts(Stmt *S) const {
121 Stmt *ParentMap::getParentIgnoreParenImpCasts(Stmt *S) const {
129 Stmt *ParentMap::getOuterParenParent(Stmt *S) const {
130 Stmt *Paren = 0;
139 Stmt *P = getParent(E);
140 Stmt *DirectChild = E;
154 case Stmt::DeclStmtClass:
156 case Stmt::BinaryOperatorClass: {
162 case Stmt::ForStmtClass:
164 case Stmt::WhileStmtClass:
166 case Stmt::DoStmtClass:
168 case Stmt::IfStmtClass:
170 case Stmt::IndirectGotoStmtClass:
172 case Stmt::SwitchStmtClass:
174 case Stmt::ReturnStmtClass: