Searched refs:body_empty (Results 1 – 13 of 13) sorted by relevance
575 bool body_empty() const { return CompoundStmtBits.NumStmts == 0; } in body_empty() function584 Stmt *body_front() { return !body_empty() ? Body[0] : nullptr; } in body_front()585 Stmt *body_back() { return !body_empty() ? Body[size()-1] : nullptr; } in body_back()588 assert(!body_empty() && "setLastStmt"); in setLastStmt()601 return !body_empty() ? Body[0] : nullptr; in body_front()604 return !body_empty() ? Body[size() - 1] : nullptr; in body_back()
90 if (S->body_empty()) in VisitCompoundStmt()
117 if (!CS->body_empty()) { in VisitIfStmt()
51 empty_ = stmt->body_empty(); in WalkUpFromCompoundStmt()
792 if (!CS->body_empty()) { in VisitSwitchStmt()
643 if (!CS->body_empty()) { in createDeclBegin()
1303 if (SE->getSubStmt()->body_empty()) { in Visit()
2474 if (isa<CompoundStmt>(S) && cast<CompoundStmt>(S)->body_empty()) in hasTrivialBody()
2142 if (!CS->body_empty()) { in isUnusedResultAWarning()
4538 if (CS->body_empty()) in VisitStmtExpr()
1583 if (!CS || CS->body_empty()) return; in CheckForRedundantIteration()
11641 if (!Compound->body_empty()) { in ActOnStmtExpr()
1947 if (!C->body_empty() && !isa<ReturnStmt>(*C->body_rbegin())) { in VisitCompoundStmt()