Lines Matching defs:std
515 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS,
519 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS,
520 const std::pair<llvm::APSInt, CaseStmt*> &RHS) {
524 const std::pair<llvm::APSInt, CaseStmt*> &RHS) {
532 static bool CmpCaseVals(const std::pair<llvm::APSInt, CaseStmt*>& lhs,
533 const std::pair<llvm::APSInt, CaseStmt*>& rhs) {
546 static bool CmpEnumVals(const std::pair<llvm::APSInt, EnumConstantDecl*>& lhs,
547 const std::pair<llvm::APSInt, EnumConstantDecl*>& rhs)
554 static bool EqEnumVals(const std::pair<llvm::APSInt, EnumConstantDecl*>& lhs,
555 const std::pair<llvm::APSInt, EnumConstantDecl*>& rhs)
725 typedef SmallVector<std::pair<llvm::APSInt, CaseStmt*>, 64> CaseValsTy;
729 typedef std::vector<std::pair<llvm::APSInt, CaseStmt*> > CaseRangesTy;
804 CaseRanges.push_back(std::make_pair(LoVal, CS));
806 CaseVals.push_back(std::make_pair(LoVal, CS));
826 std::stable_sort(CaseVals.begin(), CaseVals.end(), CmpCaseVals);
874 std::stable_sort(CaseRanges.begin(), CaseRanges.end());
877 std::vector<llvm::APSInt> HiVals;
944 CaseValsTy::iterator I = std::lower_bound(CaseVals.begin(),
953 I = std::upper_bound(I, CaseVals.end(), CRHi, CaseCompareFunctor());
998 typedef SmallVector<std::pair<llvm::APSInt, EnumConstantDecl*>, 64>
1008 EnumVals.push_back(std::make_pair(Val, *EDI));
1010 std::stable_sort(EnumVals.begin(), EnumVals.end(), CmpEnumVals);
1012 std::unique(EnumVals.begin(), EnumVals.end(), EqEnumVals);
1141 typedef SmallVector<std::pair<llvm::APSInt, EnumConstantDecl*>, 64>
1151 EnumVals.push_back(std::make_pair(Val, *EDI));
1155 std::stable_sort(EnumVals.begin(), EnumVals.end(), CmpEnumVals);
1157 std::unique(EnumVals.begin(), EnumVals.end(), EqEnumVals);
1688 std::string Description;
1830 // lookup, namespace std is an associated namespace.
2558 // 'std::initializer_list<int>'.