Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp710 const Expr *CaseExpr, in ShouldDiagnoseSwitchCaseNotInEnum() argument
715 dyn_cast<DeclRefExpr>(CaseExpr->IgnoreParenImpCasts())) { in ShouldDiagnoseSwitchCaseNotInEnum()
1091 Expr *CaseExpr = CI->second->getLHS(); in ActOnFinishSwitchStmt() local
1092 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt()
1094 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt()
1102 Expr *CaseExpr = RI->second->getLHS(); in ActOnFinishSwitchStmt() local
1103 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt()
1105 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt()
1112 CaseExpr = RI->second->getRHS(); in ActOnFinishSwitchStmt()
1113 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaStmt.cpp840 const Expr *CaseExpr, in ShouldDiagnoseSwitchCaseNotInEnum() argument
848 dyn_cast<DeclRefExpr>(CaseExpr->IgnoreParenImpCasts())) { in ShouldDiagnoseSwitchCaseNotInEnum()
1202 Expr *CaseExpr = CI->second->getLHS(); in ActOnFinishSwitchStmt() local
1203 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt()
1205 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt()
1213 Expr *CaseExpr = RI->second->getLHS(); in ActOnFinishSwitchStmt() local
1214 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt()
1216 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt()
1223 CaseExpr = RI->second->getRHS(); in ActOnFinishSwitchStmt()
1224 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt()
[all …]