Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp1157 const Expr *CaseExpr, in ShouldDiagnoseSwitchCaseNotInEnum() argument
1165 dyn_cast<DeclRefExpr>(CaseExpr->IgnoreParenImpCasts())) { in ShouldDiagnoseSwitchCaseNotInEnum()
1520 Expr *CaseExpr = CI->second->getLHS(); in ActOnFinishSwitchStmt() local
1521 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt()
1523 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt()
1531 Expr *CaseExpr = RI->second->getLHS(); in ActOnFinishSwitchStmt() local
1532 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt()
1534 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt()
1541 CaseExpr = RI->second->getRHS(); in ActOnFinishSwitchStmt()
1542 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt()
[all …]