Searched refs:TheDefaultStmt (Results 1 – 1 of 1) sorted by relevance
760 DefaultStmt *TheDefaultStmt = nullptr; in ActOnFinishSwitchStmt() local768 if (TheDefaultStmt) { in ActOnFinishSwitchStmt()770 Diag(TheDefaultStmt->getDefaultLoc(), diag::note_duplicate_case_prev); in ActOnFinishSwitchStmt()778 TheDefaultStmt = DS; in ActOnFinishSwitchStmt()843 if (!HasDependentValue && !TheDefaultStmt) { in ActOnFinishSwitchStmt()1111 if (TheDefaultStmt && UnhandledNames.empty()) in ActOnFinishSwitchStmt()1112 Diag(TheDefaultStmt->getDefaultLoc(), diag::warn_unreachable_default); in ActOnFinishSwitchStmt()1118 Diag(CondExpr->getExprLoc(), TheDefaultStmt in ActOnFinishSwitchStmt()1123 Diag(CondExpr->getExprLoc(), TheDefaultStmt in ActOnFinishSwitchStmt()1128 Diag(CondExpr->getExprLoc(), TheDefaultStmt in ActOnFinishSwitchStmt()[all …]