Home
last modified time | relevance | path

Searched refs:AllocNode (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSKeychainAPIChecker.cpp454 const ExplodedNode *AllocNode = N; in getAllocationNode() local
464 AllocNode = N; in getAllocationNode()
468 return AllocNode; in getAllocationNode()
485 const ExplodedNode *AllocNode = getAllocationNode(N, AP.first, C); in generateAllocatedDataNotReleasedReport() local
486 const Stmt *AllocStmt = AllocNode->getStmtForDiagnostics(); in generateAllocatedDataNotReleasedReport()
491 AllocNode->getLocationContext()); in generateAllocatedDataNotReleasedReport()
495 AllocNode->getLocationContext()->getDecl()); in generateAllocatedDataNotReleasedReport()
H A DMallocChecker.cpp2701 const ExplodedNode *AllocNode = N; in getAllocationSite() local
2729 AllocNode = N; in getAllocationSite()
2733 return LeakInfo(AllocNode, ReferenceRegion); in getAllocationSite()
2772 const ExplodedNode *AllocNode = nullptr; in HandleLeak() local
2774 std::tie(AllocNode, Region) = getAllocationSite(N, Sym, C); in HandleLeak()
2776 const Stmt *AllocationStmt = AllocNode->getStmtForDiagnostics(); in HandleLeak()
2780 AllocNode->getLocationContext()); in HandleLeak()
2793 AllocNode->getLocationContext()->getDecl()); in HandleLeak()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp882 const ExplodedNode *AllocNode = nullptr; in deriveAllocLocation() local
889 AllocNode = AllocI.N; in deriveAllocLocation()
897 AllocStmt = AllocNode->getStmtForDiagnostics(); in deriveAllocLocation()
905 AllocStmt, SMgr, AllocNode->getLocationContext()); in deriveAllocLocation()
911 UniqueingDecl = AllocNode->getLocationContext()->getDecl(); in deriveAllocLocation()