Searched refs:CaseExpr (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 1188 const Expr *CaseExpr, in ShouldDiagnoseSwitchCaseNotInEnum() argument 1196 dyn_cast<DeclRefExpr>(CaseExpr->IgnoreParenImpCasts())) { in ShouldDiagnoseSwitchCaseNotInEnum() 1555 Expr *CaseExpr = CI->second->getLHS(); in ActOnFinishSwitchStmt() local 1556 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt() 1558 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 1566 Expr *CaseExpr = RI->second->getLHS(); in ActOnFinishSwitchStmt() local 1567 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt() 1569 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 1576 CaseExpr = RI->second->getRHS(); in ActOnFinishSwitchStmt() 1577 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt() [all …]
|