Home
last modified time | relevance | path

Searched refs:AllocStmt (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DMacOSKeychainAPIChecker.cpp527 const Stmt *AllocStmt = nullptr; in generateAllocatedDataNotReleasedReport() local
530 AllocStmt = Exit->getCalleeContext()->getCallSite(); in generateAllocatedDataNotReleasedReport()
532 AllocStmt = PS->getStmt(); in generateAllocatedDataNotReleasedReport()
534 if (AllocStmt) in generateAllocatedDataNotReleasedReport()
535 LocUsedForUniqueing = PathDiagnosticLocation::createBegin(AllocStmt, in generateAllocatedDataNotReleasedReport()
DRetainCountChecker.cpp2420 const Stmt *AllocStmt = nullptr; in CFRefLeakReport() local
2423 AllocStmt = Exit->getCalleeContext()->getCallSite(); in CFRefLeakReport()
2425 AllocStmt = P.castAs<PostStmt>().getStmt(); in CFRefLeakReport()
2426 assert(AllocStmt && "Cannot find allocation statement"); in CFRefLeakReport()
2429 PathDiagnosticLocation::createBegin(AllocStmt, SMgr, in CFRefLeakReport()
2449 FullSourceLoc SL(AllocStmt->getLocStart(), Ctx.getSourceManager()); in CFRefLeakReport()