Home
last modified time | relevance | path

Searched refs:CaseExpr (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Sema/
DSemaStmt.cpp679 const Expr *CaseExpr) { in ShouldDiagnoseSwitchCaseNotInEnum() argument
682 CaseExpr = CaseExpr->IgnoreParenImpCasts(); in ShouldDiagnoseSwitchCaseNotInEnum()
683 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CaseExpr)) { in ShouldDiagnoseSwitchCaseNotInEnum()
1048 Expr *CaseExpr = CI->second->getLHS(); in ActOnFinishSwitchStmt() local
1049 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() local
1063 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 …]