Searched refs:CaseVals (Results 1 – 2 of 2) sorted by relevance
791 CaseValsTy CaseVals; in ActOnFinishSwitchStmt() local869 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()[all …]
3754 SmallVector<ConstantInt*, 1> CaseVals; in ParseFunctionBody() local3781 CaseVals.push_back(ConstantInt::get(Context, Low)); in ParseFunctionBody()3783 CaseVals.push_back(ConstantInt::get(Context, Low)); in ParseFunctionBody()3786 for (SmallVector<ConstantInt*, 1>::iterator cvi = CaseVals.begin(), in ParseFunctionBody()3787 cve = CaseVals.end(); cvi != cve; ++cvi) in ParseFunctionBody()