Home
last modified time | relevance | path

Searched refs:CXXForRangeStmt (Results 1 – 25 of 72) sorted by relevance

123

/external/llvm-project/clang/test/Analysis/
Dtraversal-algorithm.mm56 // DFS-next:44 CXXForRangeStmt
57 // DFS-next:44 CXXForRangeStmt
58 // DFS-next:44 CXXForRangeStmt
59 // DFS-next:44 CXXForRangeStmt
63 // DFS-next:44 CXXForRangeStmt
64 // DFS-next:44 CXXForRangeStmt
65 // DFS-next:44 CXXForRangeStmt
66 // DFS-next:44 CXXForRangeStmt
70 // DFS-next:44 CXXForRangeStmt
73 // DFS-next:44 CXXForRangeStmt
[all …]
/external/clang/test/Analysis/
Dtraversal-algorithm.mm56 // DFS-next:44 CXXForRangeStmt
57 // DFS-next:44 CXXForRangeStmt
58 // DFS-next:44 CXXForRangeStmt
59 // DFS-next:44 CXXForRangeStmt
63 // DFS-next:44 CXXForRangeStmt
64 // DFS-next:44 CXXForRangeStmt
65 // DFS-next:44 CXXForRangeStmt
66 // DFS-next:44 CXXForRangeStmt
70 // DFS-next:44 CXXForRangeStmt
73 // DFS-next:44 CXXForRangeStmt
[all …]
/external/clang/lib/AST/
DStmtCXX.cpp52 CXXForRangeStmt::CXXForRangeStmt(DeclStmt *Range, in CXXForRangeStmt() function in CXXForRangeStmt
69 Expr *CXXForRangeStmt::getRangeInit() { in getRangeInit()
76 const Expr *CXXForRangeStmt::getRangeInit() const { in getRangeInit()
77 return const_cast<CXXForRangeStmt *>(this)->getRangeInit(); in getRangeInit()
80 VarDecl *CXXForRangeStmt::getLoopVariable() { in getLoopVariable()
86 const VarDecl *CXXForRangeStmt::getLoopVariable() const { in getLoopVariable()
87 return const_cast<CXXForRangeStmt *>(this)->getLoopVariable(); in getLoopVariable()
/external/llvm-project/clang/lib/AST/
DStmtCXX.cpp47 CXXForRangeStmt::CXXForRangeStmt(Stmt *Init, DeclStmt *Range, in CXXForRangeStmt() function in CXXForRangeStmt
65 Expr *CXXForRangeStmt::getRangeInit() { in getRangeInit()
72 const Expr *CXXForRangeStmt::getRangeInit() const { in getRangeInit()
73 return const_cast<CXXForRangeStmt *>(this)->getRangeInit(); in getRangeInit()
76 VarDecl *CXXForRangeStmt::getLoopVariable() { in getLoopVariable()
82 const VarDecl *CXXForRangeStmt::getLoopVariable() const { in getLoopVariable()
83 return const_cast<CXXForRangeStmt *>(this)->getLoopVariable(); in getLoopVariable()
DStmtOpenMP.cpp94 if (isa<ForStmt>(S) || isa<CXXForRangeStmt>(S)) { in tryToFindNextInnerLoop()
127 assert(isa<CXXForRangeStmt>(Body) && in getBody()
129 Body = cast<CXXForRangeStmt>(Body)->getBody(); in getBody()
136 assert(isa<CXXForRangeStmt>(Body) && in getBody()
138 Body = cast<CXXForRangeStmt>(Body)->getBody(); in getBody()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DUseAnyOfAllOfCheck.cpp75 static bool isViableLoop(const CXXForRangeStmt &S, ASTContext &Context) { in isViableLoop()
93 if (const auto *S = Result.Nodes.getNodeAs<CXXForRangeStmt>("any_of_loop")) { in check()
99 Result.Nodes.getNodeAs<CXXForRangeStmt>("all_of_loop")) { in check()
DBracesAroundStatementsCheck.cpp144 } else if (auto S = Result.Nodes.getNodeAs<CXXForRangeStmt>("for-range")) { in check()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DForRangeCopyCheck.cpp67 const auto *ForRange = Result.Nodes.getNodeAs<CXXForRangeStmt>("forRange"); in check()
98 const VarDecl &LoopVar, const CXXForRangeStmt &ForRange, in handleCopyIsOnlyConstReferenced()
DForRangeCopyCheck.h41 const CXXForRangeStmt &ForRange,
DInefficientVectorOperationCheck.cpp187 Result.Nodes.getNodeAs<CXXForRangeStmt>(RangeLoopName); in check()
/external/clang/include/clang/AST/
DStmtCXX.h128 class CXXForRangeStmt : public Stmt {
140 CXXForRangeStmt(DeclStmt *Range, DeclStmt *Begin, DeclStmt *End,
144 CXXForRangeStmt(EmptyShell Empty) : Stmt(CXXForRangeStmtClass, Empty) { } in CXXForRangeStmt() function
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DProBoundsArrayToPointerDecayCheck.cpp21 AST_MATCHER_P(CXXForRangeStmt, hasRangeBeginEndStmt, in AST_MATCHER_P() argument
/external/llvm-project/clang/include/clang/AST/
DStmtCXX.h134 class CXXForRangeStmt : public Stmt {
146 CXXForRangeStmt(Stmt *InitStmt, DeclStmt *Range, DeclStmt *Begin,
150 CXXForRangeStmt(EmptyShell Empty) : Stmt(CXXForRangeStmtClass, Empty) { } in CXXForRangeStmt() function
DASTNodeTraverser.h148 isa<LambdaExpr, CXXForRangeStmt, CallExpr>(S))
729 void VisitCXXForRangeStmt(const CXXForRangeStmt *Node) { in VisitCXXForRangeStmt()
/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/
DSourceExtraction.cpp39 if (const auto *CXXFor = dyn_cast<CXXForRangeStmt>(S)) in isSemicolonRequiredAfter()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
DUncountedLocalVarsChecker.cpp44 grandParent.begin()->get<CXXForRangeStmt>(); in isDeclaredInForOrIf()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DExtractVariable.cpp134 isa<CXXForRangeStmt>(Stmt) || isa<DeclStmt>(Stmt) || in computeInsertionPoint()
354 if (const auto* FS = llvm::dyn_cast<CXXForRangeStmt>(Outer)) in childExprIsStmt()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp459 if (cast<CXXForRangeStmt>(Parent)->getBody() == S) in getEnclosingStmtLocation()
1354 const CXXForRangeStmt *FR = cast<CXXForRangeStmt>(Term); in isInLoopBody()
1786 } else if (const CXXForRangeStmt *FRS = in GenerateAlternateExtensivePathDiagnostic()
1787 dyn_cast<CXXForRangeStmt>(Loop)) { in GenerateAlternateExtensivePathDiagnostic()
1824 } else if (isa<CXXForRangeStmt>(Term)) { in GenerateAlternateExtensivePathDiagnostic()
1937 const CXXForRangeStmt *FRS = cast<CXXForRangeStmt>(S); in isConditionForTerminator()
1948 if (const CXXForRangeStmt *FRS = dyn_cast<CXXForRangeStmt>(FL)) in isIncrementOrInitInForLoop()
2096 isa<CXXForRangeStmt>(s1Start))) in simplifySimpleBranches()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DExprSequence.cpp142 } else if (const auto *ForRange = dyn_cast<CXXForRangeStmt>(Parent)) { in getSequenceSuccessor()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenPGO.cpp96 CXXForRangeStmt, enumerator
250 DEFINE_NESTABLE_TRAVERSAL(CXXForRangeStmt) in DEFINE_NESTABLE_TRAVERSAL()
269 return PGOHash::CXXForRangeStmt; in DEFINE_NESTABLE_TRAVERSAL()
553 void VisitCXXForRangeStmt(const CXXForRangeStmt *S) { in VisitCXXForRangeStmt()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp84 CXXForRangeStmt, enumerator
170 return PGOHash::CXXForRangeStmt; in getHashType()
410 void VisitCXXForRangeStmt(const CXXForRangeStmt *S) { in VisitCXXForRangeStmt()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp674 if (cast<CXXForRangeStmt>(Parent)->getBody() == S) in getEnclosingStmtLocation()
1048 const auto *FR = cast<CXXForRangeStmt>(Term); in isInLoopBody()
1251 } else if (const auto *FRS = dyn_cast<CXXForRangeStmt>(Loop)) { in generatePathDiagnosticsForNode()
1287 } else if (isa<CXXForRangeStmt>(Term)) { in generatePathDiagnosticsForNode()
1389 const auto *FRS = cast<CXXForRangeStmt>(S); in isConditionForTerminator()
1400 if (const auto *FRS = dyn_cast<CXXForRangeStmt>(FL)) in isIncrementOrInitInForLoop()
1545 isa<CXXForRangeStmt>(s1Start))) in simplifySimpleBranches()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1433 CXXForRangeStmt> cxxForRangeStmt;
1443 AST_MATCHER_P(CXXForRangeStmt, hasLoopVariable, internal::Matcher<VarDecl>, in AST_MATCHER_P() argument
1457 AST_MATCHER_P(CXXForRangeStmt, hasRangeInit, internal::Matcher<Expr>, in AST_MATCHER_P() argument
3541 CXXForRangeStmt, in AST_POLYMORPHIC_MATCHER_P() argument
/external/clang/include/clang/Basic/
DStmtNodes.td49 def CXXForRangeStmt : Stmt;
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h2064 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CXXForRangeStmt>
2075 AST_MATCHER_P(CXXForRangeStmt, hasLoopVariable, internal::Matcher<VarDecl>, in AST_MATCHER_P() argument
2089 AST_MATCHER_P(CXXForRangeStmt, hasRangeInit, internal::Matcher<Expr>, in AST_MATCHER_P() argument
4860 CXXForRangeStmt), in AST_POLYMORPHIC_MATCHER_P() argument
5021 CXXForRangeStmt, in AST_POLYMORPHIC_MATCHER_P() argument

123