Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp808 DefaultStmt *TheDefaultStmt = nullptr; in ActOnFinishSwitchStmt() local
816 if (TheDefaultStmt) { in ActOnFinishSwitchStmt()
818 Diag(TheDefaultStmt->getDefaultLoc(), diag::note_duplicate_case_prev); in ActOnFinishSwitchStmt()
826 TheDefaultStmt = DS; in ActOnFinishSwitchStmt()
889 if (!HasDependentValue && !TheDefaultStmt) { in ActOnFinishSwitchStmt()
1149 if (TheDefaultStmt && UnhandledNames.empty()) in ActOnFinishSwitchStmt()
1150 Diag(TheDefaultStmt->getDefaultLoc(), diag::warn_unreachable_default); in ActOnFinishSwitchStmt()
1155 TheDefaultStmt ? diag::warn_def_missing_case in ActOnFinishSwitchStmt()