Searched refs:AllocStmt (Results 1 – 2 of 2) sorted by relevance
535 const Stmt *AllocStmt = nullptr; in generateAllocatedDataNotReleasedReport() local538 AllocStmt = Exit->getCalleeContext()->getCallSite(); in generateAllocatedDataNotReleasedReport()540 AllocStmt = PS->getStmt(); in generateAllocatedDataNotReleasedReport()542 if (AllocStmt) in generateAllocatedDataNotReleasedReport()543 LocUsedForUniqueing = PathDiagnosticLocation::createBegin(AllocStmt, in generateAllocatedDataNotReleasedReport()
2419 const Stmt *AllocStmt = nullptr; in CFRefLeakReport() local2422 AllocStmt = Exit->getCalleeContext()->getCallSite(); in CFRefLeakReport()2424 AllocStmt = P.castAs<PostStmt>().getStmt(); in CFRefLeakReport()2425 assert(AllocStmt && "Cannot find allocation statement"); in CFRefLeakReport()2428 PathDiagnosticLocation::createBegin(AllocStmt, SMgr, in CFRefLeakReport()2448 FullSourceLoc SL(AllocStmt->getLocStart(), Ctx.getSourceManager()); in CFRefLeakReport()