Searched refs:CXXFor (Results 1 – 3 of 3) sorted by relevance
39 if (const auto *CXXFor = dyn_cast<CXXForRangeStmt>(S)) in isSemicolonRequiredAfter() local40 return isSemicolonRequiredAfter(CXXFor->getBody()); in isSemicolonRequiredAfter()
171 auto *CXXFor = cast<CXXForRangeStmt>(Body); in emitPreInitStmt() local172 if (const Stmt *Init = CXXFor->getInit()) in emitPreInitStmt()174 CGF.EmitStmt(CXXFor->getRangeStmt()); in emitPreInitStmt()175 CGF.EmitStmt(CXXFor->getEndStmt()); in emitPreInitStmt()176 Body = CXXFor->getBody(); in emitPreInitStmt()1779 const auto *CXXFor = cast<CXXForRangeStmt>(SimplifiedS); in emitBody() local1780 CGF.EmitStmt(CXXFor->getLoopVarStmt()); in emitBody()1781 S = CXXFor->getBody(); in emitBody()
7822 auto *CXXFor = dyn_cast_or_null<CXXForRangeStmt>(S); in checkOpenMPIterationSpace() local7824 if (!For && (SemaRef.LangOpts.OpenMP <= 45 || !CXXFor)) { in checkOpenMPIterationSpace()7846 assert(((For && For->getBody()) || (CXXFor && CXXFor->getBody())) && in checkOpenMPIterationSpace()7850 For ? For->getForLoc() : CXXFor->getForLoc()); in checkOpenMPIterationSpace()7853 Stmt *Init = For ? For->getInit() : CXXFor->getBeginStmt(); in checkOpenMPIterationSpace()7889 HasErrors |= ISC.checkAndSetCond(For ? For->getCond() : CXXFor->getCond()); in checkOpenMPIterationSpace()7892 HasErrors |= ISC.checkAndSetInc(For ? For->getInc() : CXXFor->getInc()); in checkOpenMPIterationSpace()7900 DSA.getCurScope(), For ? For->getCond() : CXXFor->getCond(), Captures); in checkOpenMPIterationSpace()