Searched refs:CFGStmt (Results 1 – 21 of 21) sorted by relevance
137 if (Optional<CFGStmt> S = (*ci).getAs<CFGStmt>()) in checkEndAnalysis()198 if (Optional<CFGStmt> S = I->getAs<CFGStmt>()) in getUnreachableStmt()
126 if (Optional<CFGStmt> CS = CE.getAs<CFGStmt>()) { in checkEndAnalysis()
240 if (Optional<CFGStmt> CS = bi->getAs<CFGStmt>()) { in checkASTCodeBody()
2355 if (Optional<CFGStmt> St = Edge->getDst()->front().getAs<CFGStmt>()) { in CFRefLeakReport()
53 Optional<CFGStmt> CS = CE.getAs<CFGStmt>(); in Accumulate()
70 if (Optional<CFGStmt> CS = I->getAs<CFGStmt>()) { in isDeadReturn()416 if (Optional<CFGStmt> CS = I->getAs<CFGStmt>()) { in findDeadCode()
467 if (!elem.getAs<CFGStmt>()) in runOnBlock()470 const Stmt *S = elem.castAs<CFGStmt>().getStmt(); in runOnBlock()522 if (Optional<CFGStmt> cs = bi->getAs<CFGStmt>()) { in computeLiveness()
1334 CFGStmt CS = BI->castAs<CFGStmt>(); in traverseCFG()1379 if (Optional<CFGStmt> CS = BI->getAs<CFGStmt>()) { in findBlockLocations()1392 if (Optional<CFGStmt> CS = BI->getAs<CFGStmt>()) { in findBlockLocations()2326 if (Optional<CFGStmt> S = Last.getAs<CFGStmt>()) { in neverReturns()2544 CFGStmt CS = BI->castAs<CFGStmt>(); in runAnalysis()
61 if (Optional<CFGStmt> CS = B.getAs<CFGStmt>()) in getFirstStmtLoc()80 if (Optional<CFGStmt> CS = BI->getAs<CFGStmt>()) in getLastStmtLoc()1395 Visitor.Visit(B.castAs<CFGStmt>().getStmt()); in run()
765 if (Optional<CFGStmt> cs = I->getAs<CFGStmt>()) in runOnBlock()
3823 if (Optional<CFGStmt> SE = BI->getAs<CFGStmt>()) { in StmtPrinterHelper()4032 if (Optional<CFGStmt> CS = E.getAs<CFGStmt>()) { in print_elem()
115 class CFGStmt : public CFGElement {117 CFGStmt(Stmt *S) : CFGElement(Statement, S) {} in CFGStmt() function125 CFGStmt() {} in CFGStmt() function658 Elements.push_back(CFGStmt(statement), C); in appendStmt()922 if (Optional<CFGStmt> stmt = BI->getAs<CFGStmt>()) in VisitBlockStmts()
197 const CallExpr *CE = dyn_cast<CallExpr>(B.getAs<CFGStmt>()->getStmt()); in checkForFunctionCall()343 if (ri->getAs<CFGStmt>()) in CheckFallThrough()357 CFGStmt CS = ri->castAs<CFGStmt>(); in CheckFallThrough()970 if (Optional<CFGStmt> CS = ElemIt->getAs<CFGStmt>()) { in checkFallThroughIntoBlock()1048 if (Optional<CFGStmt> CS = ElemIt->getAs<CFGStmt>()) in getLastStmt()
556 CFGStmt Elem = SrcBlock->rbegin()->castAs<CFGStmt>(); in VisitLogicalExpr()669 if (Optional<CFGStmt> CS = CE.getAs<CFGStmt>()) { in VisitGuardedExpr()
128 if (Optional<CFGStmt> StmtElem = Next.getAs<CFGStmt>()) { in getRegionForConstructedObject()
541 CFGStmt CS = (*Block)[Idx].castAs<CFGStmt>(); in enqueueStmtNode()
286 ProcessStmt(const_cast<Stmt*>(E.castAs<CFGStmt>().getStmt()), Pred); in processCFGElement()306 const CFGStmt S, in shouldRemoveDeadBindings()414 void ExprEngine::ProcessStmt(const CFGStmt S, in ProcessStmt()1416 Optional<CFGStmt> CS = Elem.getAs<CFGStmt>(); in ResolveCondition()
549 return PathDiagnosticLocation(Source.castAs<CFGStmt>().getStmt(), in getLocationForCaller()
1555 if (Optional<CFGStmt> S = First ? First->getAs<CFGStmt>() : None) { in GenerateExtensivePathDiagnostic()
148 V.handleStatement(BI.castAs<CFGStmt>().getStmt()); in walk()
197 void ProcessStmt(const CFGStmt S, ExplodedNode *Pred);