Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDUnreachableCodeChecker.cpp137 if (Optional<CFGStmt> S = (*ci).getAs<CFGStmt>()) in checkEndAnalysis()
198 if (Optional<CFGStmt> S = I->getAs<CFGStmt>()) in getUnreachableStmt()
HDAnalyzerStatsChecker.cpp126 if (Optional<CFGStmt> CS = CE.getAs<CFGStmt>()) { in checkEndAnalysis()
HDMallocOverflowSecurityChecker.cpp240 if (Optional<CFGStmt> CS = bi->getAs<CFGStmt>()) { in checkASTCodeBody()
/NextBSD/contrib/llvm/tools/clang/lib/Analysis/
HDCFGStmtMap.cpp53 Optional<CFGStmt> CS = CE.getAs<CFGStmt>(); in Accumulate()
HDReachableCode.cpp70 if (Optional<CFGStmt> CS = I->getAs<CFGStmt>()) { in isDeadReturn()
416 if (Optional<CFGStmt> CS = I->getAs<CFGStmt>()) { in findDeadCode()
HDLiveVariables.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()
HDThreadSafety.cpp738 CFGStmt CS = BI->castAs<CFGStmt>(); in traverseCFG()
783 if (Optional<CFGStmt> CS = BI->getAs<CFGStmt>()) { in findBlockLocations()
796 if (Optional<CFGStmt> CS = BI->getAs<CFGStmt>()) { in findBlockLocations()
2070 if (Optional<CFGStmt> S = Last.getAs<CFGStmt>()) { in neverReturns()
2295 CFGStmt CS = BI->castAs<CFGStmt>(); in runAnalysis()
HDConsumed.cpp61 if (Optional<CFGStmt> CS = B.getAs<CFGStmt>()) in getFirstStmtLoc()
80 if (Optional<CFGStmt> CS = BI->getAs<CFGStmt>()) in getLastStmtLoc()
1394 Visitor.Visit(B.castAs<CFGStmt>().getStmt()); in run()
HDUninitializedValues.cpp824 if (Optional<CFGStmt> cs = I->getAs<CFGStmt>()) in runOnBlock()
HDCFG.cpp3915 if (Optional<CFGStmt> SE = BI->getAs<CFGStmt>()) { in StmtPrinterHelper()
4123 if (Optional<CFGStmt> CS = E.getAs<CFGStmt>()) { in print_elem()
/NextBSD/contrib/llvm/tools/clang/include/clang/Analysis/
HDCFG.h115 class CFGStmt : public CFGElement {
117 CFGStmt(Stmt *S) : CFGElement(Statement, S) {} in CFGStmt() function
125 CFGStmt() {} in CFGStmt() function
657 Elements.push_back(CFGStmt(statement), C); in appendStmt()
921 if (Optional<CFGStmt> stmt = BI->getAs<CFGStmt>()) in VisitBlockStmts()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDAnalysisBasedWarnings.cpp198 const CallExpr *CE = dyn_cast<CallExpr>(B.getAs<CFGStmt>()->getStmt()); in checkForFunctionCall()
344 if (ri->getAs<CFGStmt>()) in CheckFallThrough()
358 CFGStmt CS = ri->castAs<CFGStmt>(); in CheckFallThrough()
965 if (Optional<CFGStmt> CS = ElemIt->getAs<CFGStmt>()) { in checkFallThroughIntoBlock()
1043 if (Optional<CFGStmt> CS = ElemIt->getAs<CFGStmt>()) in getLastStmt()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDExprEngineC.cpp556 CFGStmt Elem = SrcBlock->rbegin()->castAs<CFGStmt>(); in VisitLogicalExpr()
669 if (Optional<CFGStmt> CS = CE.getAs<CFGStmt>()) { in VisitGuardedExpr()
HDExprEngineCXX.cpp128 if (Optional<CFGStmt> StmtElem = Next.getAs<CFGStmt>()) { in getRegionForConstructedObject()
HDCoreEngine.cpp558 CFGStmt CS = (*Block)[Idx].castAs<CFGStmt>(); in enqueueStmtNode()
HDExprEngine.cpp295 ProcessStmt(const_cast<Stmt*>(E.castAs<CFGStmt>().getStmt()), Pred); in processCFGElement()
315 const CFGStmt S, in shouldRemoveDeadBindings()
423 void ExprEngine::ProcessStmt(const CFGStmt S, in ProcessStmt()
1510 Optional<CFGStmt> CS = Elem.getAs<CFGStmt>(); in ResolveCondition()
HDPathDiagnostic.cpp552 return PathDiagnosticLocation(Source.castAs<CFGStmt>().getStmt(), in getLocationForCaller()
HDBugReporter.cpp1546 if (Optional<CFGStmt> S = First ? First->getAs<CFGStmt>() : None) { in GenerateExtensivePathDiagnostic()
/NextBSD/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
HDThreadSafetyCommon.h190 V.handleStatement(BI.castAs<CFGStmt>().getStmt()); in walk()
/NextBSD/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
HDExprEngine.h197 void ProcessStmt(const CFGStmt S, ExplodedNode *Pred);