Home
last modified time | relevance | path

Searched refs:CFGStmt (Results 1 – 21 of 21) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DUnreachableCodeChecker.cpp133 if (Optional<CFGStmt> S = (*ci).getAs<CFGStmt>()) in checkEndAnalysis()
194 if (Optional<CFGStmt> S = I->getAs<CFGStmt>()) in getUnreachableStmt()
DAnalyzerStatsChecker.cpp126 if (Optional<CFGStmt> CS = CE.getAs<CFGStmt>()) { in checkEndAnalysis()
DMallocOverflowSecurityChecker.cpp308 if (Optional<CFGStmt> CS = bi->getAs<CFGStmt>()) { in checkASTCodeBody()
/external/clang/lib/Analysis/
DCFGStmtMap.cpp53 Optional<CFGStmt> CS = CE.getAs<CFGStmt>(); in Accumulate()
DReachableCode.cpp70 if (Optional<CFGStmt> CS = I->getAs<CFGStmt>()) { in isDeadReturn()
416 if (Optional<CFGStmt> CS = I->getAs<CFGStmt>()) { in findDeadCode()
DLiveVariables.cpp462 if (!elem.getAs<CFGStmt>()) in runOnBlock()
465 const Stmt *S = elem.castAs<CFGStmt>().getStmt(); in runOnBlock()
517 if (Optional<CFGStmt> cs = bi->getAs<CFGStmt>()) { in computeLiveness()
DThreadSafety.cpp740 CFGStmt CS = BI->castAs<CFGStmt>(); in traverseCFG()
785 if (Optional<CFGStmt> CS = BI->getAs<CFGStmt>()) { in findBlockLocations()
798 if (Optional<CFGStmt> CS = BI->getAs<CFGStmt>()) { in findBlockLocations()
2075 if (Optional<CFGStmt> S = Last.getAs<CFGStmt>()) { in neverReturns()
2300 CFGStmt CS = BI->castAs<CFGStmt>(); in runAnalysis()
DConsumed.cpp61 if (Optional<CFGStmt> CS = B.getAs<CFGStmt>()) in getFirstStmtLoc()
80 if (Optional<CFGStmt> CS = BI->getAs<CFGStmt>()) in getLastStmtLoc()
1387 Visitor.Visit(B.castAs<CFGStmt>().getStmt()); in run()
DUninitializedValues.cpp824 if (Optional<CFGStmt> cs = I->getAs<CFGStmt>()) in runOnBlock()
DCFG.cpp4013 if (Optional<CFGStmt> SE = BI->getAs<CFGStmt>()) { in StmtPrinterHelper()
4221 if (Optional<CFGStmt> CS = E.getAs<CFGStmt>()) { in print_elem()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp116 if (Optional<CFGStmt> StmtElem = Elem->getAs<CFGStmt>()) { in getRegionForConstructedObject()
164 if (Optional<CFGStmt> StmtElem = Elem.getAs<CFGStmt>()) { in canHaveDirectConstructor()
183 assert(isa<CXXConstructExpr>(((*B)[currStmtIdx]).castAs<CFGStmt>().getStmt())); in findElementDirectlyInitializedByCurrentConstructor()
224 if (Optional<CFGStmt> PrevStmtElem = Previous.getAs<CFGStmt>()) { in findDirectConstructorForCurrentCFGElement()
DExprEngineC.cpp592 CFGStmt Elem = SrcBlock->rbegin()->castAs<CFGStmt>(); in VisitLogicalExpr()
703 if (Optional<CFGStmt> CS = CE.getAs<CFGStmt>()) { in VisitGuardedExpr()
DCoreEngine.cpp575 CFGStmt CS = (*Block)[Idx].castAs<CFGStmt>(); in enqueueStmtNode()
DExprEngine.cpp297 ProcessStmt(const_cast<Stmt*>(E.castAs<CFGStmt>().getStmt()), Pred); in processCFGElement()
317 const CFGStmt S, in shouldRemoveDeadBindings()
425 void ExprEngine::ProcessStmt(const CFGStmt S, in ProcessStmt()
1568 Optional<CFGStmt> CS = Elem.getAs<CFGStmt>(); in ResolveCondition()
DPathDiagnostic.cpp548 return PathDiagnosticLocation(Source.castAs<CFGStmt>().getStmt(), in getLocationForCaller()
DBugReporter.cpp1546 if (Optional<CFGStmt> S = First ? First->getAs<CFGStmt>() : None) { in GenerateExtensivePathDiagnostic()
/external/v8/tools/clang/base_bind_rewriters/
DBaseBindRewriters.cpp31 using clang::CFGStmt;
285 if (auto stmt = elem.getAs<CFGStmt>()) in ExtractCFGContentToMembers()
305 if (auto stmt = elem.getAs<CFGStmt>()) in ExtractCFGContentToMembers()
540 if (auto s = e.getAs<CFGStmt>()) { in ForEachFollowingStmts()
/external/clang/include/clang/Analysis/
DCFG.h115 class CFGStmt : public CFGElement {
117 CFGStmt(Stmt *S) : CFGElement(Statement, S) {} in CFGStmt() function
125 CFGStmt() {} in CFGStmt() function
656 Elements.push_back(CFGStmt(statement), C); in appendStmt()
920 if (Optional<CFGStmt> stmt = BI->getAs<CFGStmt>()) in VisitBlockStmts()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp174 const CallExpr *CE = dyn_cast<CallExpr>(B.getAs<CFGStmt>()->getStmt()); in hasRecursiveCallInPath()
357 if (ri->getAs<CFGStmt>()) in CheckFallThrough()
371 CFGStmt CS = ri->castAs<CFGStmt>(); in CheckFallThrough()
976 if (Optional<CFGStmt> CS = ElemIt->getAs<CFGStmt>()) { in checkFallThroughIntoBlock()
1054 if (Optional<CFGStmt> CS = ElemIt->getAs<CFGStmt>()) in getLastStmt()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h190 V.handleStatement(BI.castAs<CFGStmt>().getStmt()); in walk()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h197 void ProcessStmt(const CFGStmt S, ExplodedNode *Pred);