Home
last modified time | relevance | path

Searched refs:WhileStmt (Results 1 – 25 of 37) 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.cpp447 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.cpp404 const WhileStmt *WStmt1 = cast<WhileStmt>(Stmt1); in isIdenticalStmt()
405 const WhileStmt *WStmt2 = cast<WhileStmt>(Stmt2); in isIdenticalStmt()
DMallocOverflowSecurityChecker.cpp243 void VisitWhileStmt(WhileStmt *S) { in VisitWhileStmt()
/external/clang/lib/AST/
DStmt.cpp851 WhileStmt::WhileStmt(const ASTContext &C, VarDecl *Var, Expr *cond, Stmt *body, in WhileStmt() function in WhileStmt
860 VarDecl *WhileStmt::getConditionVariable() const { in getConditionVariable()
868 void WhileStmt::setConditionVariable(const ASTContext &C, VarDecl *V) { in setConditionVariable()
DParentMap.cpp185 return DirectChild == cast<WhileStmt>(P)->getCond(); in isConsumedExpr()
DStmtProfile.cpp127 void StmtProfiler::VisitWhileStmt(const WhileStmt *S) { in VisitWhileStmt()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp76 WhileStmt, enumerator
159 return PGOHash::WhileStmt; in getHashType()
324 void VisitWhileStmt(const WhileStmt *S) { in VisitWhileStmt()
DCGStmt.cpp135 case Stmt::WhileStmtClass: EmitWhileStmt(cast<WhileStmt>(*S)); break; in EmitStmt()
498 EmitWhileStmt(cast<WhileStmt>(*SubStmt), S.getAttrs()); in EmitAttributedStmt()
613 void CodeGenFunction::EmitWhileStmt(const WhileStmt &S, in EmitWhileStmt()
DCoverageMappingGen.cpp623 void VisitWhileStmt(const WhileStmt *S) { in VisitWhileStmt()
DCodeGenFunction.cpp1061 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.h1296 const internal::VariadicDynCastAllOfMatcher<Stmt, WhileStmt> whileStmt;
2999 WhileStmt, DoStmt, in AST_POLYMORPHIC_MATCHER_P() argument
3130 WhileStmt, in AST_POLYMORPHIC_MATCHER_P() argument
/external/clang/docs/analyzer/
DDebugChecks.rst49 during a path traversal ("IfStmt", "WhileStmt", etc). Currently used to check
/external/clang/lib/Analysis/
DCFG.cpp484 CFGBlock *VisitWhileStmt(WhileStmt *W);
1603 return VisitWhileStmt(cast<WhileStmt>(S)); in Visit()
2726 CFGBlock *CFGBuilder::VisitWhileStmt(WhileStmt *W) { in VisitWhileStmt()
4004 cast<WhileStmt>(stmt)->getConditionVariable(); in StmtPrinterHelper()
4113 void VisitWhileStmt(WhileStmt *W) { in VisitWhileStmt()
4557 E = cast<WhileStmt>(Terminator)->getCond(); in getTerminatorCondition()
/external/clang/include/clang/AST/
DStmt.h1025 class WhileStmt : public Stmt {
1030 WhileStmt(const ASTContext &C, VarDecl *Var, Expr *cond, Stmt *body,
1034 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/bison/tests/
Dnamed-refs.at342 { $res = new WhileStmt($[expr], $[stmt.list]); };
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp4577 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || in RewriteFunctionBodyOrGlobalInitializer()
4743 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || in RewriteFunctionBodyOrGlobalInitializer()
4746 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()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp217 void ASTStmtReader::VisitWhileStmt(WhileStmt *S) { in VisitWhileStmt()
2588 S = new (Context) WhileStmt(Empty); in ReadStmtFromStream()

12