Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DUnreachableCodeChecker.cpp137 if (Optional<CFGStmt> S = (*ci).getAs<CFGStmt>()) in checkEndAnalysis()
198 if (Optional<CFGStmt> S = I->getAs<CFGStmt>()) in getUnreachableStmt()
DAnalyzerStatsChecker.cpp126 if (Optional<CFGStmt> CS = CE.getAs<CFGStmt>()) { in checkEndAnalysis()
DMallocOverflowSecurityChecker.cpp240 if (Optional<CFGStmt> CS = bi->getAs<CFGStmt>()) { in checkASTCodeBody()
DRetainCountChecker.cpp2355 if (Optional<CFGStmt> St = Edge->getDst()->front().getAs<CFGStmt>()) { in CFRefLeakReport()
/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.cpp467 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()
DThreadSafety.cpp1334 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()
DConsumed.cpp61 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()
DUninitializedValues.cpp765 if (Optional<CFGStmt> cs = I->getAs<CFGStmt>()) in runOnBlock()
DCFG.cpp3823 if (Optional<CFGStmt> SE = BI->getAs<CFGStmt>()) { in StmtPrinterHelper()
4032 if (Optional<CFGStmt> CS = E.getAs<CFGStmt>()) { in print_elem()
/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
658 Elements.push_back(CFGStmt(statement), C); in appendStmt()
922 if (Optional<CFGStmt> stmt = BI->getAs<CFGStmt>()) in VisitBlockStmts()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp197 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()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp556 CFGStmt Elem = SrcBlock->rbegin()->castAs<CFGStmt>(); in VisitLogicalExpr()
669 if (Optional<CFGStmt> CS = CE.getAs<CFGStmt>()) { in VisitGuardedExpr()
DExprEngineCXX.cpp128 if (Optional<CFGStmt> StmtElem = Next.getAs<CFGStmt>()) { in getRegionForConstructedObject()
DCoreEngine.cpp541 CFGStmt CS = (*Block)[Idx].castAs<CFGStmt>(); in enqueueStmtNode()
DExprEngine.cpp286 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()
DPathDiagnostic.cpp549 return PathDiagnosticLocation(Source.castAs<CFGStmt>().getStmt(), in getLocationForCaller()
DBugReporter.cpp1555 if (Optional<CFGStmt> S = First ? First->getAs<CFGStmt>() : None) { in GenerateExtensivePathDiagnostic()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h148 V.handleStatement(BI.castAs<CFGStmt>().getStmt()); in walk()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h197 void ProcessStmt(const CFGStmt S, ExplodedNode *Pred);