Searched refs:CaseVals (Results 1 – 2 of 2) sorted by relevance
754 CaseValsTy CaseVals; in ActOnFinishSwitchStmt() local834 CaseVals.push_back(std::make_pair(LoVal, CS)); in ActOnFinishSwitchStmt()854 std::stable_sort(CaseVals.begin(), CaseVals.end(), CmpCaseVals); in ActOnFinishSwitchStmt()856 if (!CaseVals.empty()) { in ActOnFinishSwitchStmt()857 for (unsigned i = 0, e = CaseVals.size(); i != e; ++i) { in ActOnFinishSwitchStmt()859 CaseVals[i].first == ConstantCondValue) in ActOnFinishSwitchStmt()862 if (i != 0 && CaseVals[i].first == CaseVals[i-1].first) { in ActOnFinishSwitchStmt()866 Expr *PrevCase = CaseVals[i-1].second->getLHS()->IgnoreParenCasts(); in ActOnFinishSwitchStmt()867 Expr *CurrCase = CaseVals[i].second->getLHS()->IgnoreParenCasts(); in ActOnFinishSwitchStmt()875 CaseVals[i-1].first.toString(CaseValStr); in ActOnFinishSwitchStmt()[all …]
2666 SmallVector<ConstantInt*, 1> CaseVals; in ParseFunctionBody() local2693 CaseVals.push_back(ConstantInt::get(Context, Low)); in ParseFunctionBody()2695 CaseVals.push_back(ConstantInt::get(Context, Low)); in ParseFunctionBody()2698 for (SmallVector<ConstantInt*, 1>::iterator cvi = CaseVals.begin(), in ParseFunctionBody()2699 cve = CaseVals.end(); cvi != cve; ++cvi) in ParseFunctionBody()