Searched refs:CaseExpr (Results 1 – 1 of 1) sorted by relevance
679 const Expr *CaseExpr) { in ShouldDiagnoseSwitchCaseNotInEnum() argument682 CaseExpr = CaseExpr->IgnoreParenImpCasts(); in ShouldDiagnoseSwitchCaseNotInEnum()683 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CaseExpr)) { in ShouldDiagnoseSwitchCaseNotInEnum()1048 Expr *CaseExpr = CI->second->getLHS(); in ActOnFinishSwitchStmt() local1049 if (ShouldDiagnoseSwitchCaseNotInEnum(Context, ED, CaseExpr)) in ActOnFinishSwitchStmt()1050 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt()1062 Expr *CaseExpr = RI->second->getLHS(); in ActOnFinishSwitchStmt() local1063 if (ShouldDiagnoseSwitchCaseNotInEnum(Context, ED, CaseExpr)) in ActOnFinishSwitchStmt()1064 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt()1074 Expr *CaseExpr = RI->second->getRHS(); in ActOnFinishSwitchStmt() local[all …]