Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp1075 EnumValsTy EnumVals; in ActOnFinishSwitchStmt() local
1082 EnumVals.push_back(std::make_pair(Val, EDI)); in ActOnFinishSwitchStmt()
1084 std::stable_sort(EnumVals.begin(), EnumVals.end(), CmpEnumVals); in ActOnFinishSwitchStmt()
1085 auto EI = EnumVals.begin(), EIEnd = in ActOnFinishSwitchStmt()
1086 std::unique(EnumVals.begin(), EnumVals.end(), EqEnumVals); in ActOnFinishSwitchStmt()
1099 EI = EnumVals.begin(); in ActOnFinishSwitchStmt()
1126 for (EI = EnumVals.begin(); EI != EIEnd; EI++){ in ActOnFinishSwitchStmt()
1207 EnumValsTy EnumVals; in DiagnoseAssignmentEnum() local
1214 EnumVals.push_back(std::make_pair(Val, EDI)); in DiagnoseAssignmentEnum()
1216 if (EnumVals.empty()) in DiagnoseAssignmentEnum()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaStmt.cpp1186 EnumValsTy EnumVals; in ActOnFinishSwitchStmt() local
1193 EnumVals.push_back(std::make_pair(Val, EDI)); in ActOnFinishSwitchStmt()
1195 llvm::stable_sort(EnumVals, CmpEnumVals); in ActOnFinishSwitchStmt()
1196 auto EI = EnumVals.begin(), EIEnd = in ActOnFinishSwitchStmt()
1197 std::unique(EnumVals.begin(), EnumVals.end(), EqEnumVals); in ActOnFinishSwitchStmt()
1210 EI = EnumVals.begin(); in ActOnFinishSwitchStmt()
1237 for (EI = EnumVals.begin(); EI != EIEnd; EI++) { in ActOnFinishSwitchStmt()
1338 EnumValsTy EnumVals; in DiagnoseAssignmentEnum() local
1345 EnumVals.push_back(std::make_pair(Val, EDI)); in DiagnoseAssignmentEnum()
1347 if (EnumVals.empty()) in DiagnoseAssignmentEnum()
[all …]