Searched refs:CaseExpr (Results 1 – 1 of 1) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 1165 const Expr *CaseExpr, in ShouldDiagnoseSwitchCaseNotInEnum() argument 1173 dyn_cast<DeclRefExpr>(CaseExpr->IgnoreParenImpCasts())) { in ShouldDiagnoseSwitchCaseNotInEnum() 1532 Expr *CaseExpr = CI->second->getLHS(); in ActOnFinishSwitchStmt() local 1533 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt() 1535 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 1543 Expr *CaseExpr = RI->second->getLHS(); in ActOnFinishSwitchStmt() local 1544 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt() 1546 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 1553 CaseExpr = RI->second->getRHS(); in ActOnFinishSwitchStmt() 1554 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt() [all …]
|