Home
last modified time | relevance | path

Searched refs:WhileStmt (Results 1 – 25 of 38) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Core/
DLoopWidening.cpp30 return cast<WhileStmt>(LoopStmt)->getCond(); in getLoopCondition()
43 assert(isa<ForStmt>(LoopStmt) || isa<WhileStmt>(LoopStmt) || in getWidenedLoopState()
DBugReporter.cpp477 if (cast<WhileStmt>(Parent)->getCond() != S) in getEnclosingStmtLocation()
1375 LoopBody = cast<WhileStmt>(Term)->getBody(); in isInLoopBody()
1497 else if (const WhileStmt *WS = dyn_cast<WhileStmt>(Loop)) in GenerateExtensivePathDiagnostic()
1781 else if (const WhileStmt *WS = dyn_cast<WhileStmt>(Loop)) in GenerateAlternateExtensivePathDiagnostic()
1917 return cast<WhileStmt>(S)->getCond() == Cond; in isConditionForTerminator()
2094 if (!(isa<ForStmt>(s1Start) || isa<WhileStmt>(s1Start) || in simplifySimpleBranches()
DCoreEngine.cpp459 HandleBranch(cast<WhileStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
/external/clang/test/Analysis/
Dtraversal-algorithm.mm53 // DFS:27 WhileStmt
99 // DFS-next:27 WhileStmt
132 // DFS-next:27 WhileStmt
165 // DFS-next:27 WhileStmt
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp402 const WhileStmt *WStmt1 = cast<WhileStmt>(Stmt1); in isIdenticalStmt()
403 const WhileStmt *WStmt2 = cast<WhileStmt>(Stmt2); in isIdenticalStmt()
DMallocOverflowSecurityChecker.cpp243 void VisitWhileStmt(WhileStmt *S) { in VisitWhileStmt()
/external/clang/lib/AST/
DStmt.cpp862 WhileStmt::WhileStmt(const ASTContext &C, VarDecl *Var, Expr *cond, Stmt *body, in WhileStmt() function in WhileStmt
871 VarDecl *WhileStmt::getConditionVariable() const { in getConditionVariable()
879 void WhileStmt::setConditionVariable(const ASTContext &C, VarDecl *V) { in setConditionVariable()
DParentMap.cpp187 return DirectChild == cast<WhileStmt>(P)->getCond(); in isConsumedExpr()
DStmtProfile.cpp128 void StmtProfiler::VisitWhileStmt(const WhileStmt *S) { in VisitWhileStmt()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp81 WhileStmt, enumerator
164 return PGOHash::WhileStmt; in getHashType()
329 void VisitWhileStmt(const WhileStmt *S) { in VisitWhileStmt()
DCGStmt.cpp135 case Stmt::WhileStmtClass: EmitWhileStmt(cast<WhileStmt>(*S)); break; in EmitStmt()
528 EmitWhileStmt(cast<WhileStmt>(*SubStmt), S.getAttrs()); in EmitAttributedStmt()
659 void CodeGenFunction::EmitWhileStmt(const WhileStmt &S, in EmitWhileStmt()
DCoverageMappingGen.cpp664 void VisitWhileStmt(const WhileStmt *S) { in VisitWhileStmt()
DCodeGenFunction.cpp1131 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || isa<DoStmt>(S) || in containsBreak()
/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp109 bool VisitWhileStmt(WhileStmt *S) { in VisitWhileStmt()
DTransforms.cpp274 bool VisitWhileStmt(WhileStmt *S) { in VisitWhileStmt()
/external/clang/include/clang/Basic/
DStmtNodes.td18 def WhileStmt : Stmt;
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1471 const internal::VariadicDynCastAllOfMatcher<Stmt, WhileStmt> whileStmt;
3409 AST_POLYMORPHIC_SUPPORTED_TYPES(IfStmt, ForStmt, WhileStmt, DoStmt, in AST_POLYMORPHIC_MATCHER_P() argument
3540 WhileStmt, in AST_POLYMORPHIC_MATCHER_P() argument
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp972 StatementMatcher WhileStmt = in TEST() local
974 EXPECT_TRUE(matches("void x() { while (true) {} }", WhileStmt)); in TEST()
975 EXPECT_TRUE(notMatches("void x() { while (false) {} }", WhileStmt)); in TEST()
/external/clang/lib/Analysis/
DCFG.cpp484 CFGBlock *VisitWhileStmt(WhileStmt *W);
1603 return VisitWhileStmt(cast<WhileStmt>(S)); in Visit()
2740 CFGBlock *CFGBuilder::VisitWhileStmt(WhileStmt *W) { in VisitWhileStmt()
4036 cast<WhileStmt>(stmt)->getConditionVariable(); in StmtPrinterHelper()
4145 void VisitWhileStmt(WhileStmt *W) { in VisitWhileStmt()
4589 E = cast<WhileStmt>(Terminator)->getCond(); in getTerminatorCondition()
/external/clang/include/clang/AST/
DStmt.h1047 class WhileStmt : public Stmt {
1052 WhileStmt(const ASTContext &C, VarDecl *Var, Expr *cond, Stmt *body,
1056 explicit WhileStmt(EmptyShell Empty) : Stmt(WhileStmtClass, Empty) { } in WhileStmt() function
/external/v8/tools/gcmole/
Dgcmole.cc885 VISIT(WhileStmt); in VisitStmt()
1006 DECL_VISIT_STMT(WhileStmt) { in DECL_VISIT_STMT() argument
/external/clang/docs/analyzer/
DDebugChecks.rst49 during a path traversal ("IfStmt", "WhileStmt", etc). Currently used to check
/external/bison/tests/
Dnamed-refs.at342 { $res = new WhileStmt($[expr], $[stmt.list]); };
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp4557 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || in RewriteFunctionBodyOrGlobalInitializer()
4723 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || in RewriteFunctionBodyOrGlobalInitializer()
4726 assert ((isa<SwitchStmt>(Stmts.back()) || isa<WhileStmt>(Stmts.back()) || in RewriteFunctionBodyOrGlobalInitializer()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp777 Range = cast<WhileStmt>(Term)->getCond()->getSourceRange(); in DiagUninitUse()

12