Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp797 DefaultStmt *TheDefaultStmt = nullptr; in ActOnFinishSwitchStmt() local
805 if (TheDefaultStmt) { in ActOnFinishSwitchStmt()
807 Diag(TheDefaultStmt->getDefaultLoc(), diag::note_duplicate_case_prev); in ActOnFinishSwitchStmt()
815 TheDefaultStmt = DS; in ActOnFinishSwitchStmt()
878 if (!HasDependentValue && !TheDefaultStmt) { in ActOnFinishSwitchStmt()
1137 if (TheDefaultStmt && UnhandledNames.empty()) in ActOnFinishSwitchStmt()
1138 Diag(TheDefaultStmt->getDefaultLoc(), diag::warn_unreachable_default); in ActOnFinishSwitchStmt()
1143 TheDefaultStmt ? diag::warn_def_missing_case in ActOnFinishSwitchStmt()