Lines Matching refs:CaseVals

791   CaseValsTy CaseVals;  in ActOnFinishSwitchStmt()  local
869 CaseVals.push_back(std::make_pair(LoVal, CS)); in ActOnFinishSwitchStmt()
888 std::stable_sort(CaseVals.begin(), CaseVals.end(), CmpCaseVals); in ActOnFinishSwitchStmt()
890 if (!CaseVals.empty()) { in ActOnFinishSwitchStmt()
891 for (unsigned i = 0, e = CaseVals.size(); i != e; ++i) { in ActOnFinishSwitchStmt()
893 CaseVals[i].first == ConstantCondValue) in ActOnFinishSwitchStmt()
896 if (i != 0 && CaseVals[i].first == CaseVals[i-1].first) { in ActOnFinishSwitchStmt()
900 Expr *PrevCase = CaseVals[i-1].second->getLHS()->IgnoreParenCasts(); in ActOnFinishSwitchStmt()
901 Expr *CurrCase = CaseVals[i].second->getLHS()->IgnoreParenCasts(); in ActOnFinishSwitchStmt()
909 CaseVals[i-1].first.toString(CaseValStr); in ActOnFinishSwitchStmt()
912 Diag(CaseVals[i].second->getLHS()->getLocStart(), in ActOnFinishSwitchStmt()
916 Diag(CaseVals[i].second->getLHS()->getLocStart(), in ActOnFinishSwitchStmt()
922 Diag(CaseVals[i-1].second->getLHS()->getLocStart(), in ActOnFinishSwitchStmt()
1009 CaseValsTy::iterator I = std::lower_bound(CaseVals.begin(), in ActOnFinishSwitchStmt()
1010 CaseVals.end(), CRLo, in ActOnFinishSwitchStmt()
1012 if (I != CaseVals.end() && I->first < CRHi) { in ActOnFinishSwitchStmt()
1018 I = std::upper_bound(I, CaseVals.end(), CRHi, CaseCompareFunctor()); in ActOnFinishSwitchStmt()
1019 if (I != CaseVals.begin() && (I-1)->first >= CRLo) { in ActOnFinishSwitchStmt()
1077 for (CaseValsTy::const_iterator CI = CaseVals.begin(); in ActOnFinishSwitchStmt()
1078 CI != CaseVals.end(); CI++) { in ActOnFinishSwitchStmt()
1108 auto CI = CaseVals.begin(); in ActOnFinishSwitchStmt()
1116 while (CI != CaseVals.end() && CI->first < EI->first) in ActOnFinishSwitchStmt()
1119 if (CI != CaseVals.end() && CI->first == EI->first) in ActOnFinishSwitchStmt()