Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp1299 DefaultStmt *TheDefaultStmt = nullptr; in ActOnFinishSwitchStmt() local
1310 if (TheDefaultStmt) { in ActOnFinishSwitchStmt()
1312 Diag(TheDefaultStmt->getDefaultLoc(), diag::note_duplicate_case_prev); in ActOnFinishSwitchStmt()
1320 TheDefaultStmt = DS; in ActOnFinishSwitchStmt()
1367 if (!TheDefaultStmt) { in ActOnFinishSwitchStmt()
1630 if (TheDefaultStmt && UnhandledNames.empty() && ED->isClosedNonFlag()) in ActOnFinishSwitchStmt()
1631 Diag(TheDefaultStmt->getDefaultLoc(), diag::warn_unreachable_default); in ActOnFinishSwitchStmt()
1635 auto DB = Diag(CondExpr->getExprLoc(), TheDefaultStmt in ActOnFinishSwitchStmt()