Home
last modified time | relevance | path

Searched refs:StmtPoint (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DProgramPoint.h270 class StmtPoint : public ProgramPoint {
284 StmtPoint() = default;
294 class PreStmt : public StmtPoint {
298 : StmtPoint(S, SubStmt, PreStmtKind, L, tag) {} in StmtPoint() function
310 class PostStmt : public StmtPoint {
315 : StmtPoint(S, data, k, L, tag) {} in StmtPoint() function
320 : StmtPoint(S, nullptr, k, L, tag) {} in StmtPoint() function
372 class LocationCheck : public StmtPoint {
377 : StmtPoint(S, nullptr, K, L, tag) {} in LocationCheck()
472 class PreStmtPurgeDeadSymbols : public StmtPoint {
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp472 if (!N->getLocation().getAs<StmtPoint>()) in VisitNode()
502 const Stmt *S = N->getLocation().castAs<StmtPoint>().getStmt(); in VisitNode()
554 const Stmt *S = N->getLocation().castAs<StmtPoint>().getStmt(); in VisitNode()
588 const Stmt *S = N->getLocation().castAs<StmtPoint>().getStmt(); in VisitNode()
731 if (Optional<StmtPoint> SP = AllocPP.getAs<StmtPoint>()) in GetAllocationSite()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp142 if (Optional<StmtPoint> SP = SuccLoc.getAs<StmtPoint>()) in shouldCollect()
333 if (auto SP = P.getAs<StmtPoint>()) in getStmtForDiagnostics()
H A DBugReporterVisitors.cpp888 auto BugPoint = BR.getErrorNode()->getLocation().getAs<StmtPoint>(); in VisitNode()
1004 Optional<StmtPoint> SP = N->getLocationAs<StmtPoint>(); in visitNodeInitial()
1763 auto BugPoint = BR.getErrorNode()->getLocation().getAs<StmtPoint>(); in VisitNode()
1772 } else if (auto SP = CurPoint.getAs<StmtPoint>()) { in VisitNode()
2273 if (Optional<StmtPoint> SP = ExprNode->getLocationAs<StmtPoint>()) in handle()
H A DExprEngineCallAndReturn.cpp88 if (Optional<StmtPoint> SP = PP.getAs<StmtPoint>()) { in getLastStmt()
H A DBugReporter.cpp1036 Optional<StmtPoint> SP = N->getLocation().getAs<StmtPoint>(); in getStmtBeforeCond()
H A DExprEngine.cpp2107 if (Optional<StmtPoint> SP = L.getAs<StmtPoint>()) in replayWithoutInlining()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DProgramPoint.cpp187 const Stmt *S = castAs<StmtPoint>().getStmt(); in printJson()
H A DPathDiagnostic.cpp688 } else if (Optional<StmtPoint> SP = P.getAs<StmtPoint>()) { in create()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSKeychainAPIChecker.cpp634 cast<CallExpr>(N->getLocation().castAs<StmtPoint>().getStmt()); in VisitNode()
H A DLocalizationChecker.cpp1007 Optional<StmtPoint> Point = Succ->getLocation().getAs<StmtPoint>(); in VisitNode()