Searched refs:CaseExpr (Results 1 – 1 of 1) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 1120 const Expr *CaseExpr, in ShouldDiagnoseSwitchCaseNotInEnum() argument 1128 dyn_cast<DeclRefExpr>(CaseExpr->IgnoreParenImpCasts())) { in ShouldDiagnoseSwitchCaseNotInEnum() 1483 Expr *CaseExpr = CI->second->getLHS(); in ActOnFinishSwitchStmt() local 1484 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt() 1486 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 1494 Expr *CaseExpr = RI->second->getLHS(); in ActOnFinishSwitchStmt() local 1495 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt() 1497 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 1504 CaseExpr = RI->second->getRHS(); in ActOnFinishSwitchStmt() 1505 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt() [all …]
|