Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp715 DefaultStmt *TheDefaultStmt = 0; in ActOnFinishSwitchStmt() local
723 if (TheDefaultStmt) { in ActOnFinishSwitchStmt()
725 Diag(TheDefaultStmt->getDefaultLoc(), diag::note_duplicate_case_prev); in ActOnFinishSwitchStmt()
733 TheDefaultStmt = DS; in ActOnFinishSwitchStmt()
798 if (!HasDependentValue && !TheDefaultStmt) { in ActOnFinishSwitchStmt()
1060 if (TheDefaultStmt && UnhandledNames.empty()) in ActOnFinishSwitchStmt()
1061 Diag(TheDefaultStmt->getDefaultLoc(), diag::warn_unreachable_default); in ActOnFinishSwitchStmt()
1067 Diag(CondExpr->getExprLoc(), TheDefaultStmt in ActOnFinishSwitchStmt()
1072 Diag(CondExpr->getExprLoc(), TheDefaultStmt in ActOnFinishSwitchStmt()
1077 Diag(CondExpr->getExprLoc(), TheDefaultStmt in ActOnFinishSwitchStmt()
[all …]