Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DProgramPoint.h266 class StmtPoint : public ProgramPoint {
268 StmtPoint(const Stmt *S, const void *p2, Kind k, const LocationContext *L, in StmtPoint() function
280 StmtPoint() = default;
290 class PreStmt : public StmtPoint {
294 : StmtPoint(S, SubStmt, PreStmtKind, L, tag) {} in StmtPoint() function
306 class PostStmt : public StmtPoint {
311 : StmtPoint(S, data, k, L, tag) {} in StmtPoint() function
316 : StmtPoint(S, nullptr, k, L, tag) {} in StmtPoint() function
320 : StmtPoint(S, nullptr, PostStmtKind, L, tag) {} in StmtPoint() function
368 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()
733 if (std::optional<StmtPoint> SP = AllocPP.getAs<StmtPoint>()) in GetAllocationSite()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp142 if (std::optional<StmtPoint> SP = SuccLoc.getAs<StmtPoint>()) in shouldCollect()
332 if (auto SP = P.getAs<StmtPoint>()) in getStmtForDiagnostics()
H A DBugReporterVisitors.cpp918 auto BugPoint = BR.getErrorNode()->getLocation().getAs<StmtPoint>(); in VisitNode()
1034 std::optional<StmtPoint> SP = N->getLocationAs<StmtPoint>(); in visitNodeInitial()
1943 auto BugPoint = BR.getErrorNode()->getLocation().getAs<StmtPoint>(); in VisitNode()
1952 } else if (auto SP = CurPoint.getAs<StmtPoint>()) { in VisitNode()
2456 if (std::optional<StmtPoint> SP = ExprNode->getLocationAs<StmtPoint>()) in handle()
H A DExprEngineCallAndReturn.cpp89 if (std::optional<StmtPoint> SP = PP.getAs<StmtPoint>()) { in getLastStmt()
H A DBugReporter.cpp1046 std::optional<StmtPoint> SP = N->getLocation().getAs<StmtPoint>(); in getStmtBeforeCond()
H A DExprEngine.cpp2462 if (std::optional<StmtPoint> SP = L.getAs<StmtPoint>()) in replayWithoutInlining()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DProgramPoint.cpp187 const Stmt *S = castAs<StmtPoint>().getStmt(); in printJson()
H A DPathDiagnostic.cpp688 } else if (std::optional<StmtPoint> SP = P.getAs<StmtPoint>()) { in create()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLocalizationChecker.cpp1002 std::optional<StmtPoint> Point = Succ->getLocation().getAs<StmtPoint>(); in VisitNode()