Searched refs:CaseVals (Results 1 – 2 of 2) sorted by relevance
802 CaseValsTy CaseVals; in ActOnFinishSwitchStmt() local880 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()[all …]
4998 SmallVector<ConstantInt*, 1> CaseVals; in parseFunctionBody() local5024 CaseVals.push_back(ConstantInt::get(Context, Low)); in parseFunctionBody()5026 CaseVals.push_back(ConstantInt::get(Context, Low)); in parseFunctionBody()5029 for (SmallVector<ConstantInt*, 1>::iterator cvi = CaseVals.begin(), in parseFunctionBody()5030 cve = CaseVals.end(); cvi != cve; ++cvi) in parseFunctionBody()