| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | StmtCXX.cpp | 48 CXXForRangeStmt::CXXForRangeStmt(Stmt *Init, DeclStmt *Range, in CXXForRangeStmt() function in CXXForRangeStmt 66 Expr *CXXForRangeStmt::getRangeInit() { in getRangeInit() 73 const Expr *CXXForRangeStmt::getRangeInit() const { in getRangeInit() 74 return const_cast<CXXForRangeStmt *>(this)->getRangeInit(); in getRangeInit() 77 VarDecl *CXXForRangeStmt::getLoopVariable() { in getLoopVariable() 83 const VarDecl *CXXForRangeStmt::getLoopVariable() const { in getLoopVariable() 84 return const_cast<CXXForRangeStmt *>(this)->getLoopVariable(); in getLoopVariable()
|
| H A D | ParentMapContext.cpp | 191 matchParents<DeclStmt, CXXForRangeStmt>(ParentList, this); in getParents() 193 std::get<const CXXForRangeStmt *>(AncestorNodes) in getParents() 199 auto AncestorNodes = matchParents<VarDecl, DeclStmt, CXXForRangeStmt>( in getParents() 202 std::get<const CXXForRangeStmt *>(AncestorNodes) in getParents()
|
| H A D | StmtOpenACC.cpp | 58 assert((Loop == nullptr || isa<ForStmt, CXXForRangeStmt>(Loop)) && in OpenACCLoopConstruct()
|
| H A D | StmtOpenMP.cpp | 97 if (isa<ForStmt>(S) || isa<CXXForRangeStmt>(S) || in tryToFindNextInnerLoop() 169 assert(isa<CXXForRangeStmt>(CurStmt) && in doForAllLoops() 171 CurStmt = cast<CXXForRangeStmt>(CurStmt)->getBody(); in doForAllLoops() 189 assert(isa<CXXForRangeStmt>(Loop) && in doForAllLoopsBodies() 191 Body = cast<CXXForRangeStmt>(Loop)->getBody(); in doForAllLoopsBodies()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaOpenACC.h | 145 const CXXForRangeStmt *Uninstantiated = nullptr; 146 const CXXForRangeStmt *CurrentVersion = nullptr; 150 RangeForInfo(const CXXForRangeStmt *Uninst, const CXXForRangeStmt *Cur) in RangeForInfo() 186 const CXXForRangeStmt *RangeFor) in ForStmtBeginChecker() 191 const CXXForRangeStmt *OldRangeFor, in ForStmtBeginChecker() 192 const CXXForRangeStmt *RangeFor) in ForStmtBeginChecker()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | StmtCXX.h | 135 class CXXForRangeStmt : public Stmt { 147 CXXForRangeStmt(Stmt *InitStmt, DeclStmt *Range, DeclStmt *Begin, 151 CXXForRangeStmt(EmptyShell Empty) : Stmt(CXXForRangeStmtClass, Empty) { } in CXXForRangeStmt() function
|
| H A D | ASTNodeTraverser.h | 166 isa<LambdaExpr, CXXForRangeStmt, CallExpr, 965 void VisitCXXForRangeStmt(const CXXForRangeStmt *Node) { in VisitCXXForRangeStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | SourceExtraction.cpp | 40 if (const auto *CXXFor = dyn_cast<CXXForRangeStmt>(S)) in isSemicolonRequiredAfter()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 101 CXXForRangeStmt, enumerator 456 bool TraverseCXXForRangeStmt(CXXForRangeStmt *ForRange) { in TraverseCXXForRangeStmt() 501 return PGOHash::CXXForRangeStmt; in DEFINE_NESTABLE_TRAVERSAL() 785 void VisitCXXForRangeStmt(const CXXForRangeStmt *S) { in VisitCXXForRangeStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporter.cpp | 708 if (cast<CXXForRangeStmt>(Parent)->getBody() == S) in getEnclosingStmtLocation() 1078 const auto *FR = cast<CXXForRangeStmt>(Term); in isInLoopBody() 1284 } else if (const auto *FRS = dyn_cast<CXXForRangeStmt>(Loop)) { in generatePathDiagnosticsForNode() 1322 } else if (isa<CXXForRangeStmt>(Term)) { in generatePathDiagnosticsForNode() 1427 const auto *FRS = cast<CXXForRangeStmt>(S); in isConditionForTerminator() 1438 if (const auto *FRS = dyn_cast<CXXForRangeStmt>(FL)) in isIncrementOrInitInForLoop() 1582 CXXForRangeStmt>(s1Start)) in simplifySimpleBranches()
|
| H A D | CoreEngine.cpp | 408 HandleBranch(cast<CXXForRangeStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit() 646 if (isa<ForStmt, WhileStmt, CXXForRangeStmt>(Term)) { in getCompletedIterationCount()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenACC.cpp | 1630 cast_if_present<CXXForRangeStmt>(OldRangeFor), in ActOnRangeForStmtBegin() 1631 cast_if_present<CXXForRangeStmt>(RangeFor)}; in ActOnRangeForStmtBegin() 1646 cast_if_present<CXXForRangeStmt>(RangeFor)}; in ActOnRangeForStmtBegin() 1663 isa<ForStmt, NullStmt, ForStmt, CXXForRangeStmt, WhileStmt, DoStmt>( in FindInterveningCodeInLoop() 2092 if (!isa<CXXForRangeStmt, ForStmt>(AssocStmt.get())) { in ActOnAssociatedStmt()
|
| H A D | SemaStmt.cpp | 2175 void VisitCXXForRangeStmt(const CXXForRangeStmt *S) { in VisitCXXForRangeStmt() 3030 return new (Context) CXXForRangeStmt( in BuildCXXForRangeStmt() 3179 const CXXForRangeStmt *ForStmt) { in DiagnoseForRangeVariableCopies() 3222 CXXForRangeStmt *ForStmt = cast<CXXForRangeStmt>(S); in FinishCXXForRangeStmt()
|
| H A D | SemaStmtAttr.cpp | 91 if (!isa<DoStmt, ForStmt, CXXForRangeStmt, WhileStmt>(St)) { in handleLoopHintAttr()
|
| H A D | SemaAvailability.cpp | 751 return cast<CXXForRangeStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | RawPtrRefLocalVarsChecker.cpp | 247 bool TraverseCXXForRangeStmt(CXXForRangeStmt *FRS) override { in checkASTDecl()
|
| H A D | PtrTypesSemantics.cpp | 604 bool VisitCXXForRangeStmt(const CXXForRangeStmt *FS) { in VisitCXXForRangeStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenStmt.cpp | 103 return emitCXXForRangeStmt(cast<CXXForRangeStmt>(*s), attr); in emitStmt() 569 CIRGenFunction::emitCXXForRangeStmt(const CXXForRangeStmt &s, in emitCXXForRangeStmt()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2241 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CXXForRangeStmt> 2252 AST_MATCHER_P(CXXForRangeStmt, hasLoopVariable, internal::Matcher<VarDecl>, in AST_MATCHER_P() argument 2266 AST_MATCHER_P(CXXForRangeStmt, hasRangeInit, internal::Matcher<Expr>, in AST_MATCHER_P() argument 5638 CXXForRangeStmt), in AST_POLYMORPHIC_MATCHER_P() argument 5797 AST_POLYMORPHIC_SUPPORTED_TYPES(DoStmt, ForStmt, WhileStmt, CXXForRangeStmt, in AST_POLYMORPHIC_MATCHER_P() argument
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | TypeErasedDataflowAnalysis.cpp | 88 const Expr *VisitCXXForRangeStmt(const CXXForRangeStmt *) { in VisitCXXForRangeStmt() argument
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 52 def CXXForRangeStmt : StmtNode<Stmt>;
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 244 bool TraverseCXXForRangeStmt(CXXForRangeStmt *Node) { in TraverseCXXForRangeStmt() 513 if (auto *RF = dyn_cast<CXXForRangeStmt>(S)) { in dataTraverseNode()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Compiler.h | 226 bool visitCXXForRangeStmt(const CXXForRangeStmt *S);
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 100 AST_MATCHER_P(CXXForRangeStmt, hasRangeStmt, in AST_MATCHER_P() argument
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| H A D | BuildTree.cpp | 828 bool TraverseCXXForRangeStmt(CXXForRangeStmt *S) { in TraverseCXXForRangeStmt() 1511 bool WalkUpFromCXXForRangeStmt(CXXForRangeStmt *S) { in WalkUpFromCXXForRangeStmt()
|