Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp1120 const Expr *CaseExpr, in ShouldDiagnoseSwitchCaseNotInEnum() argument
1128 dyn_cast<DeclRefExpr>(CaseExpr->IgnoreParenImpCasts())) { in ShouldDiagnoseSwitchCaseNotInEnum()
1482 Expr *CaseExpr = CI->second->getLHS(); in ActOnFinishSwitchStmt() local
1483 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt()
1485 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt()
1493 Expr *CaseExpr = RI->second->getLHS(); in ActOnFinishSwitchStmt() local
1494 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt()
1496 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt()
1503 CaseExpr = RI->second->getRHS(); in ActOnFinishSwitchStmt()
1504 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, in ActOnFinishSwitchStmt()
[all …]