Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DProgramPoint.h276 class StmtPoint : public ProgramPoint {
278 StmtPoint(const Stmt *S, const void *p2, Kind k, const LocationContext *L, in StmtPoint() function
290 StmtPoint() = default;
300 class PreStmt : public StmtPoint {
304 : StmtPoint(S, SubStmt, PreStmtKind, L, tag) {} in StmtPoint() function
316 class PostStmt : public StmtPoint {
321 : StmtPoint(S, data, k, L, tag) {} in StmtPoint() function
326 : StmtPoint(S, nullptr, k, L, tag) {} in StmtPoint() function
330 : StmtPoint(S, nullptr, PostStmtKind, L, tag) {} in StmtPoint() function
378 class LocationCheck : public StmtPoint {
[all …]
/freebsd/contrib/llvm-project/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()
734 if (std::optional<StmtPoint> SP = AllocPP.getAs<StmtPoint>()) in GetAllocationSite()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp140 if (std::optional<StmtPoint> SP = SuccLoc.getAs<StmtPoint>()) in shouldCollect()
330 if (auto SP = P.getAs<StmtPoint>()) in getStmtForDiagnostics()
H A DBugReporterVisitors.cpp825 auto BugPoint = BR.getErrorNode()->getLocation().getAs<StmtPoint>(); in VisitNode()
941 std::optional<StmtPoint> SP = N->getLocationAs<StmtPoint>(); in visitNodeInitial()
1895 auto BugPoint = BR.getErrorNode()->getLocation().getAs<StmtPoint>(); in VisitNode()
1904 } else if (auto SP = CurPoint.getAs<StmtPoint>()) { in VisitNode()
2408 if (std::optional<StmtPoint> SP = ExprNode->getLocationAs<StmtPoint>()) in handle()
H A DExprEngineCallAndReturn.cpp85 if (std::optional<StmtPoint> SP = PP.getAs<StmtPoint>()) { in getLastStmt()
H A DCoreEngine.cpp196 if (const auto SP = Loc.getAs<StmtPoint>()) { in timeTraceMetadata()
H A DBugReporter.cpp1063 std::optional<StmtPoint> SP = N->getLocation().getAs<StmtPoint>(); in getStmtBeforeCond()
2444 while (N && !N->getLocation().getAs<StmtPoint>()) { in exitingDestructor()
H A DExprEngine.cpp2483 if (std::optional<StmtPoint> SP = L.getAs<StmtPoint>()) in replayWithoutInlining()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DProgramPoint.cpp131 if (const Stmt *S = castAs<StmtPoint>().getStmt()) in getSourceLocation()
306 const Stmt *S = castAs<StmtPoint>().getStmt(); in printJson()
H A DPathDiagnostic.cpp683 } else if (std::optional<StmtPoint> SP = P.getAs<StmtPoint>()) { in create()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBlockInCriticalSectionChecker.cpp174 std::optional<StmtPoint> Point = N->getLocationAs<StmtPoint>(); in VisitNode()
H A DChrootChecker.cpp126 auto StmtP = N->getLocation().getAs<StmtPoint>(); in VisitNode()
H A DMacOSKeychainAPIChecker.cpp624 cast<CallExpr>(N->getLocation().castAs<StmtPoint>().getStmt()); in VisitNode()
H A DLocalizationChecker.cpp997 std::optional<StmtPoint> Point = Succ->getLocation().getAs<StmtPoint>(); in VisitNode()