Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp806 CaseRangesTy CaseRanges; in ActOnFinishSwitchStmt() local
878 CaseRanges.push_back(std::make_pair(LoVal, CS)); in ActOnFinishSwitchStmt()
944 if (!CaseRanges.empty()) { in ActOnFinishSwitchStmt()
947 std::stable_sort(CaseRanges.begin(), CaseRanges.end()); in ActOnFinishSwitchStmt()
951 for (unsigned i = 0, e = CaseRanges.size(); i != e; ++i) { in ActOnFinishSwitchStmt()
952 llvm::APSInt &LoVal = CaseRanges[i].first; in ActOnFinishSwitchStmt()
953 CaseStmt *CR = CaseRanges[i].second; in ActOnFinishSwitchStmt()
992 CaseRanges.erase(CaseRanges.begin()+i); in ActOnFinishSwitchStmt()
1009 for (unsigned i = 0, e = CaseRanges.size(); i != e; ++i) { in ActOnFinishSwitchStmt()
1010 llvm::APSInt &CRLo = CaseRanges[i].first; in ActOnFinishSwitchStmt()
[all …]
/external/clang/unittests/Format/
DFormatTest.cpp754 TEST_F(FormatTest, CaseRanges) { in TEST_F() argument