• Home
  • Raw
  • Download

Lines Matching refs:CaseVals

802   CaseValsTy CaseVals;  in ActOnFinishSwitchStmt()  local
880 CaseVals.push_back(std::make_pair(LoVal, CS)); in ActOnFinishSwitchStmt()
899 std::stable_sort(CaseVals.begin(), CaseVals.end(), CmpCaseVals); in ActOnFinishSwitchStmt()
901 if (!CaseVals.empty()) { in ActOnFinishSwitchStmt()
902 for (unsigned i = 0, e = CaseVals.size(); i != e; ++i) { in ActOnFinishSwitchStmt()
904 CaseVals[i].first == ConstantCondValue) in ActOnFinishSwitchStmt()
907 if (i != 0 && CaseVals[i].first == CaseVals[i-1].first) { in ActOnFinishSwitchStmt()
911 Expr *PrevCase = CaseVals[i-1].second->getLHS()->IgnoreParenCasts(); in ActOnFinishSwitchStmt()
912 Expr *CurrCase = CaseVals[i].second->getLHS()->IgnoreParenCasts(); in ActOnFinishSwitchStmt()
920 CaseVals[i-1].first.toString(CaseValStr); in ActOnFinishSwitchStmt()
923 Diag(CaseVals[i].second->getLHS()->getLocStart(), in ActOnFinishSwitchStmt()
927 Diag(CaseVals[i].second->getLHS()->getLocStart(), in ActOnFinishSwitchStmt()
933 Diag(CaseVals[i-1].second->getLHS()->getLocStart(), in ActOnFinishSwitchStmt()
1021 CaseValsTy::iterator I = std::lower_bound(CaseVals.begin(), in ActOnFinishSwitchStmt()
1022 CaseVals.end(), CRLo, in ActOnFinishSwitchStmt()
1024 if (I != CaseVals.end() && I->first < CRHi) { in ActOnFinishSwitchStmt()
1030 I = std::upper_bound(I, CaseVals.end(), CRHi, CaseCompareFunctor()); in ActOnFinishSwitchStmt()
1031 if (I != CaseVals.begin() && (I-1)->first >= CRLo) { in ActOnFinishSwitchStmt()
1089 for (CaseValsTy::const_iterator CI = CaseVals.begin(); in ActOnFinishSwitchStmt()
1090 CI != CaseVals.end(); CI++) { in ActOnFinishSwitchStmt()
1120 auto CI = CaseVals.begin(); in ActOnFinishSwitchStmt()
1128 while (CI != CaseVals.end() && CI->first < EI->first) in ActOnFinishSwitchStmt()
1131 if (CI != CaseVals.end() && CI->first == EI->first) in ActOnFinishSwitchStmt()