Home
last modified time | relevance | path

Searched refs:ForStmt (Results 1 – 25 of 42) sorted by relevance

12

/external/clang/test/Analysis/
Dtraversal-algorithm.mm54 // DFS-next:33 ForStmt
75 // DFS-next:33 ForStmt
83 // DFS-next:33 ForStmt
91 // DFS-next:33 ForStmt
100 // DFS-next:33 ForStmt
108 // DFS-next:33 ForStmt
116 // DFS-next:33 ForStmt
124 // DFS-next:33 ForStmt
133 // DFS-next:33 ForStmt
141 // DFS-next:33 ForStmt
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DLoopWidening.cpp28 return cast<ForStmt>(LoopStmt)->getCond(); in getLoopCondition()
43 assert(isa<ForStmt>(LoopStmt) || isa<WhileStmt>(LoopStmt) || in getWidenedLoopState()
DBugReporter.cpp465 if (cast<ForStmt>(Parent)->getBody() == S) in getEnclosingStmtLocation()
1363 const ForStmt *FS = cast<ForStmt>(Term); in isInLoopBody()
1495 if (const ForStmt *FS = dyn_cast<ForStmt>(Loop)) in GenerateExtensivePathDiagnostic()
1779 if (const ForStmt *FS = dyn_cast<ForStmt>(Loop)) in GenerateAlternateExtensivePathDiagnostic()
1915 return cast<ForStmt>(S)->getCond() == Cond; in isConditionForTerminator()
1946 if (const ForStmt *FS = dyn_cast<ForStmt>(FL)) in isIncrementOrInitInForLoop()
2094 if (!(isa<ForStmt>(s1Start) || isa<WhileStmt>(s1Start) || in simplifySimpleBranches()
DCoreEngine.cpp399 HandleBranch(cast<ForStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp374 const ForStmt *ForStmt1 = cast<ForStmt>(Stmt1); in isIdenticalStmt()
375 const ForStmt *ForStmt2 = cast<ForStmt>(Stmt2); in isIdenticalStmt()
DCheckSecuritySyntaxOnly.cpp80 void VisitForStmt(ForStmt *S);
92 void checkLoopConditionForFloat(const ForStmt *FS);
172 void WalkAST::VisitForStmt(ForStmt *FS) { in VisitForStmt()
219 void WalkAST::checkLoopConditionForFloat(const ForStmt *FS) { in checkLoopConditionForFloat()
DMallocOverflowSecurityChecker.cpp246 void VisitForStmt(ForStmt *S) { in VisitForStmt()
/external/clang/docs/
DLibASTMatchersTutorial.rst252 The last step is giving the matcher a name and binding the ``ForStmt``
283 if (const ForStmt *FS = Result.Nodes.getNodeAs<clang::ForStmt>("forLoop"))
414 (ForStmt 0x173b240
499 const ForStmt *FS = Result.Nodes.getStmtAs<ForStmt>("forLoop");
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp3.cpp158 constexpr int ForStmt() { in ForStmt() function
/external/clang/lib/AST/
DStmt.cpp788 ForStmt::ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar, in ForStmt() function in ForStmt
800 VarDecl *ForStmt::getConditionVariable() const { in getConditionVariable()
808 void ForStmt::setConditionVariable(const ASTContext &C, VarDecl *V) { in setConditionVariable()
DParentMap.cpp183 return DirectChild == cast<ForStmt>(P)->getCond(); in isConsumedExpr()
DStmtProfile.cpp136 void StmtProfiler::VisitForStmt(const ForStmt *S) { in VisitForStmt()
/external/clang/lib/Sema/
DSemaStmt.cpp1653 return new (Context) ForStmt(Context, First, SecondResult.get(), ConditionVar, in ActOnForStmt()
2407 ObjCForCollectionStmt * ForStmt = cast<ObjCForCollectionStmt>(S); in FinishObjCForCollectionStmt() local
2409 ForStmt->setBody(B); in FinishObjCForCollectionStmt()
2532 const CXXForRangeStmt *ForStmt) { in DiagnoseForRangeVariableCopies() argument
2534 ForStmt->getLocStart()) && in DiagnoseForRangeVariableCopies()
2536 ForStmt->getLocStart()) && in DiagnoseForRangeVariableCopies()
2538 ForStmt->getLocStart())) { in DiagnoseForRangeVariableCopies()
2542 const VarDecl *VD = ForStmt->getLoopVariable(); in DiagnoseForRangeVariableCopies()
2557 ForStmt->getRangeInit()->getType()); in DiagnoseForRangeVariableCopies()
2574 CXXForRangeStmt *ForStmt = cast<CXXForRangeStmt>(S); in FinishCXXForRangeStmt() local
[all …]
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp78 ForStmt, enumerator
163 return PGOHash::ForStmt; in getHashType()
370 void VisitForStmt(const ForStmt *S) { in VisitForStmt()
DCGStmt.cpp137 case Stmt::ForStmtClass: EmitForStmt(cast<ForStmt>(*S)); break; in EmitStmt()
495 EmitForStmt(cast<ForStmt>(*SubStmt), S.getAttrs()); in EmitAttributedStmt()
757 void CodeGenFunction::EmitForStmt(const ForStmt &S, in EmitForStmt()
DCoverageMappingGen.cpp668 void VisitForStmt(const ForStmt *S) { in VisitForStmt()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1218 const internal::VariadicDynCastAllOfMatcher<Stmt, ForStmt> forStmt;
1228 AST_MATCHER_P(ForStmt, hasIncrement, internal::Matcher<Stmt>, in AST_MATCHER_P() argument
1243 AST_MATCHER_P(ForStmt, hasLoopInit, internal::Matcher<Stmt>, in AST_MATCHER_P() argument
2998 AST_POLYMORPHIC_SUPPORTED_TYPES(IfStmt, ForStmt, in AST_POLYMORPHIC_MATCHER_P() argument
3129 AST_POLYMORPHIC_SUPPORTED_TYPES(DoStmt, ForStmt, in AST_POLYMORPHIC_MATCHER_P() argument
/external/clang/lib/Analysis/
DReachableCode.cpp595 if (const ForStmt *FS = dyn_cast<ForStmt>(LoopTarget)) { in reportDeadCode()
DCFG.cpp457 CFGBlock *VisitForStmt(ForStmt *F);
1536 return VisitForStmt(cast<ForStmt>(S)); in Visit()
2381 CFGBlock *CFGBuilder::VisitForStmt(ForStmt *F) { in VisitForStmt()
3997 const VarDecl *var = cast<ForStmt>(stmt)->getConditionVariable(); in StmtPrinterHelper()
4100 void VisitForStmt(ForStmt *F) { in VisitForStmt()
4553 E = cast<ForStmt>(Terminator)->getCond(); in getTerminatorCondition()
/external/clang/include/clang/Basic/
DStmtNodes.td20 def ForStmt : Stmt;
/external/clang/include/clang/AST/
DStmt.h1131 class ForStmt : public Stmt {
1138 ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar,
1143 explicit ForStmt(EmptyShell Empty) : Stmt(ForStmtClass, Empty) { } in ForStmt() function
DStmtOpenMP.h649 Body = cast<ForStmt>(Body)->getBody(); in getBody()
652 Body = cast<ForStmt>(Body)->getBody(); in getBody()
/external/v8/tools/gcmole/
Dgcmole.cc875 VISIT(ForStmt); in VisitStmt()
1022 DECL_VISIT_STMT(ForStmt) { in DECL_VISIT_STMT() argument
/external/clang/lib/ARCMigrate/
DTransforms.cpp284 bool VisitForStmt(ForStmt *S) { in VisitForStmt()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp4578 isa<DoStmt>(S) || isa<ForStmt>(S)) in RewriteFunctionBodyOrGlobalInitializer()
4744 isa<DoStmt>(S) || isa<ForStmt>(S)) { in RewriteFunctionBodyOrGlobalInitializer()
4747 isa<DoStmt>(Stmts.back()) || isa<ForStmt>(Stmts.back())) in RewriteFunctionBodyOrGlobalInitializer()

12