Home
last modified time | relevance | path

Searched refs:ForStmt (Results 1 – 25 of 43) 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.cpp411 HandleBranch(cast<ForStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp372 const ForStmt *ForStmt1 = cast<ForStmt>(Stmt1); in isIdenticalStmt()
373 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/Sema/
DSemaStmt.cpp1674 ForStmt(Context, First, Second.get().second, Second.get().first, Third, in ActOnForStmt()
2434 ObjCForCollectionStmt * ForStmt = cast<ObjCForCollectionStmt>(S); in FinishObjCForCollectionStmt() local
2436 ForStmt->setBody(B); in FinishObjCForCollectionStmt()
2563 const CXXForRangeStmt *ForStmt) { in DiagnoseForRangeVariableCopies() argument
2565 ForStmt->getLocStart()) && in DiagnoseForRangeVariableCopies()
2567 ForStmt->getLocStart()) && in DiagnoseForRangeVariableCopies()
2569 ForStmt->getLocStart())) { in DiagnoseForRangeVariableCopies()
2573 const VarDecl *VD = ForStmt->getLoopVariable(); in DiagnoseForRangeVariableCopies()
2588 ForStmt->getRangeInit()->getType()); in DiagnoseForRangeVariableCopies()
2605 CXXForRangeStmt *ForStmt = cast<CXXForRangeStmt>(S); in FinishCXXForRangeStmt() local
[all …]
/external/clang/lib/AST/
DStmt.cpp797 ForStmt::ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar, in ForStmt() function in ForStmt
809 VarDecl *ForStmt::getConditionVariable() const { in getConditionVariable()
817 void ForStmt::setConditionVariable(const ASTContext &C, VarDecl *V) { in setConditionVariable()
DParentMap.cpp185 return DirectChild == cast<ForStmt>(P)->getCond(); in isConsumedExpr()
DStmtProfile.cpp137 void StmtProfiler::VisitForStmt(const ForStmt *S) { in VisitForStmt()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp83 ForStmt, enumerator
168 return PGOHash::ForStmt; in getHashType()
375 void VisitForStmt(const ForStmt *S) { in VisitForStmt()
DCGStmt.cpp137 case Stmt::ForStmtClass: EmitForStmt(cast<ForStmt>(*S)); break; in EmitStmt()
525 EmitForStmt(cast<ForStmt>(*SubStmt), S.getAttrs()); in EmitAttributedStmt()
805 void CodeGenFunction::EmitForStmt(const ForStmt &S, in EmitForStmt()
DCoverageMappingGen.cpp709 void VisitForStmt(const ForStmt *S) { in VisitForStmt()
/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()
2395 CFGBlock *CFGBuilder::VisitForStmt(ForStmt *F) { in VisitForStmt()
4029 const VarDecl *var = cast<ForStmt>(stmt)->getConditionVariable(); in StmtPrinterHelper()
4132 void VisitForStmt(ForStmt *F) { in VisitForStmt()
4585 E = cast<ForStmt>(Terminator)->getCond(); in getTerminatorCondition()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1393 const internal::VariadicDynCastAllOfMatcher<Stmt, ForStmt> forStmt;
1403 AST_MATCHER_P(ForStmt, hasIncrement, internal::Matcher<Stmt>, in AST_MATCHER_P() argument
1418 AST_MATCHER_P(ForStmt, hasLoopInit, internal::Matcher<Stmt>, in AST_MATCHER_P() argument
3409 AST_POLYMORPHIC_SUPPORTED_TYPES(IfStmt, ForStmt, WhileStmt, DoStmt, in AST_POLYMORPHIC_MATCHER_P() argument
3539 AST_POLYMORPHIC_SUPPORTED_TYPES(DoStmt, ForStmt, in AST_POLYMORPHIC_MATCHER_P() argument
/external/clang/include/clang/Basic/
DStmtNodes.td20 def ForStmt : Stmt;
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp967 StatementMatcher ForStmt = in TEST() local
969 EXPECT_TRUE(matches("void x() { for (;true;) {} }", ForStmt)); in TEST()
970 EXPECT_TRUE(notMatches("void x() { for (;false;) {} }", ForStmt)); in TEST()
/external/clang/include/clang/AST/
DStmt.h1153 class ForStmt : public Stmt {
1160 ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar,
1165 explicit ForStmt(EmptyShell Empty) : Stmt(ForStmtClass, Empty) { } in ForStmt() function
DStmtOpenMP.h725 Body = cast<ForStmt>(Body)->getBody(); in getBody()
728 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()

12