Lines Matching refs:body
58 bool CheckInfiniteLoop::HasBreakOrReturnStatement(const ir::Statement *const body) const
60 ASSERT(body);
61 bool hasExit = body->IsBreakStatement() || body->IsReturnStatement();
62 body->IterateRecursively(
71 auto const *body = stmt->Body();
73 if ((body == nullptr) || (test == nullptr)) {
78 if (!HasBreakOrReturnStatement(body)) {
89 auto const *body = stmt->Body();
91 if ((body == nullptr) || (test == nullptr)) {
96 if (!HasBreakOrReturnStatement(body)) {
107 auto const *body = stmt->Body();
108 if (body == nullptr) {
116 if (!HasBreakOrReturnStatement(body)) {