Home
last modified time | relevance | path

Searched refs:CaseRanges (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaStmt.cpp795 CaseRangesTy CaseRanges; in ActOnFinishSwitchStmt() local
867 CaseRanges.push_back(std::make_pair(LoVal, CS)); in ActOnFinishSwitchStmt()
933 if (!CaseRanges.empty()) { in ActOnFinishSwitchStmt()
936 std::stable_sort(CaseRanges.begin(), CaseRanges.end()); in ActOnFinishSwitchStmt()
940 for (unsigned i = 0, e = CaseRanges.size(); i != e; ++i) { in ActOnFinishSwitchStmt()
941 llvm::APSInt &LoVal = CaseRanges[i].first; in ActOnFinishSwitchStmt()
942 CaseStmt *CR = CaseRanges[i].second; in ActOnFinishSwitchStmt()
981 CaseRanges.erase(CaseRanges.begin()+i); in ActOnFinishSwitchStmt()
997 for (unsigned i = 0, e = CaseRanges.size(); i != e; ++i) { in ActOnFinishSwitchStmt()
998 llvm::APSInt &CRLo = CaseRanges[i].first; in ActOnFinishSwitchStmt()
[all …]
/external/clang/unittests/Format/
DFormatTest.cpp744 TEST_F(FormatTest, CaseRanges) { in TEST_F() argument