Searched refs:IncStmt (Results 1 – 2 of 2) sorted by relevance
1409 bool SemaOpenACC::ForStmtBeginChecker::checkForInc(const Stmt *IncStmt, in checkForInc() argument1412 if (!IncStmt) { in checkForInc()1422 auto DiagIncVar = [this, Diag, IncStmt] { in checkForInc()1424 SemaRef.Diag(IncStmt->getBeginLoc(), diag::err_acc_loop_not_monotonic) in checkForInc()1433 if (const auto *ExprTemp = dyn_cast<ExprWithCleanups>(IncStmt)) in checkForInc()1434 IncStmt = ExprTemp->getSubExpr(); in checkForInc()1435 if (const auto *E = dyn_cast<Expr>(IncStmt)) in checkForInc()1436 IncStmt = E->IgnoreParenImpCasts(); in checkForInc()1440 if (const auto *UO = dyn_cast<UnaryOperator>(IncStmt)) { in checkForInc()1445 } else if (const auto *BO = dyn_cast<BinaryOperator>(IncStmt)) { in checkForInc()[all …]
175 bool checkForInc(const Stmt *IncStmt, const ValueDecl *InitVar, bool Diag);