Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/
DSourceExtraction.cpp39 if (const auto *CXXFor = dyn_cast<CXXForRangeStmt>(S)) in isSemicolonRequiredAfter() local
40 return isSemicolonRequiredAfter(CXXFor->getBody()); in isSemicolonRequiredAfter()
/external/llvm-project/clang/lib/CodeGen/
DCGStmtOpenMP.cpp171 auto *CXXFor = cast<CXXForRangeStmt>(Body); in emitPreInitStmt() local
172 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() local
1780 CGF.EmitStmt(CXXFor->getLoopVarStmt()); in emitBody()
1781 S = CXXFor->getBody(); in emitBody()
/external/llvm-project/clang/lib/Sema/
DSemaOpenMP.cpp7822 auto *CXXFor = dyn_cast_or_null<CXXForRangeStmt>(S); in checkOpenMPIterationSpace() local
7824 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()