Lines Matching refs:SubExprs
133 Stmt *SubExprs[END]; variable
154 DeclStmt *getRangeStmt() { return cast<DeclStmt>(SubExprs[RANGE]); } in getRangeStmt()
156 return cast_or_null<DeclStmt>(SubExprs[BEGINSTMT]); in getBeginStmt()
158 DeclStmt *getEndStmt() { return cast_or_null<DeclStmt>(SubExprs[ENDSTMT]); } in getEndStmt()
159 Expr *getCond() { return cast_or_null<Expr>(SubExprs[COND]); } in getCond()
160 Expr *getInc() { return cast_or_null<Expr>(SubExprs[INC]); } in getInc()
161 DeclStmt *getLoopVarStmt() { return cast<DeclStmt>(SubExprs[LOOPVAR]); } in getLoopVarStmt()
162 Stmt *getBody() { return SubExprs[BODY]; } in getBody()
165 return cast<DeclStmt>(SubExprs[RANGE]); in getRangeStmt()
168 return cast_or_null<DeclStmt>(SubExprs[BEGINSTMT]); in getBeginStmt()
171 return cast_or_null<DeclStmt>(SubExprs[ENDSTMT]); in getEndStmt()
174 return cast_or_null<Expr>(SubExprs[COND]); in getCond()
177 return cast_or_null<Expr>(SubExprs[INC]); in getInc()
180 return cast<DeclStmt>(SubExprs[LOOPVAR]); in getLoopVarStmt()
182 const Stmt *getBody() const { return SubExprs[BODY]; } in getBody()
184 void setRangeInit(Expr *E) { SubExprs[RANGE] = reinterpret_cast<Stmt*>(E); } in setRangeInit()
185 void setRangeStmt(Stmt *S) { SubExprs[RANGE] = S; } in setRangeStmt()
186 void setBeginStmt(Stmt *S) { SubExprs[BEGINSTMT] = S; } in setBeginStmt()
187 void setEndStmt(Stmt *S) { SubExprs[ENDSTMT] = S; } in setEndStmt()
188 void setCond(Expr *E) { SubExprs[COND] = reinterpret_cast<Stmt*>(E); } in setCond()
189 void setInc(Expr *E) { SubExprs[INC] = reinterpret_cast<Stmt*>(E); } in setInc()
190 void setLoopVarStmt(Stmt *S) { SubExprs[LOOPVAR] = S; } in setLoopVarStmt()
191 void setBody(Stmt *S) { SubExprs[BODY] = S; } in setBody()
200 return SubExprs[BODY]->getLocEnd(); in getLocEnd()
209 return child_range(&SubExprs[0], &SubExprs[END]); in children()