Lines Matching refs:Term
711 const Stmt *Term = I->Terminator;
727 switch (Term ? Term->getStmtClass() : Stmt::DeclStmtClass) {
735 const IfStmt *IS = cast<IfStmt>(Term);
745 const ConditionalOperator *CO = cast<ConditionalOperator>(Term);
755 const BinaryOperator *BO = cast<BinaryOperator>(Term);
777 Range = cast<WhileStmt>(Term)->getCond()->getSourceRange();
784 Range = cast<ForStmt>(Term)->getCond()->getSourceRange();
800 Range = cast<CXXForRangeStmt>(Term)->getRangeInit()->getSourceRange();
807 Range = cast<DoStmt>(Term)->getCond()->getSourceRange();
816 Range = cast<CaseStmt>(Term)->getLHS()->getSourceRange();
821 Range = cast<DefaultStmt>(Term)->getDefaultLoc();
960 const Stmt *Term = P->getTerminator();
961 if (Term && isa<SwitchStmt>(Term))
1049 if (const Stmt *Term = B.getTerminator())
1050 return Term;
1124 const Stmt *Term = B->getTerminator();
1126 while (B->empty() && !Term && B->succ_size() == 1) {
1128 Term = B->getTerminator();
1130 if (!(B->empty() && Term && isa<BreakStmt>(Term))) {