Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp1409 bool SemaOpenACC::ForStmtBeginChecker::checkForInc(const Stmt *IncStmt, in checkForInc() argument
1412 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 …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenACC.h175 bool checkForInc(const Stmt *IncStmt, const ValueDecl *InitVar, bool Diag);