Searched refs:CaseExpr (Results 1 – 1 of 1) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 768 const Expr *CaseExpr, in ShouldDiagnoseSwitchCaseNotInEnum() argument 776 dyn_cast<DeclRefExpr>(CaseExpr->IgnoreParenImpCasts())) { in ShouldDiagnoseSwitchCaseNotInEnum() 1131 Expr *CaseExpr = CI->second->getLHS(); in ActOnFinishSwitchStmt() local 1132 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt() 1134 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 1142 Expr *CaseExpr = RI->second->getLHS(); in ActOnFinishSwitchStmt() local 1143 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt() 1145 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 1152 CaseExpr = RI->second->getRHS(); in ActOnFinishSwitchStmt() 1153 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt() [all …]
|