Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DMacOSKeychainAPIChecker.cpp535 const Stmt *AllocStmt = nullptr; in generateAllocatedDataNotReleasedReport() local
538 AllocStmt = Exit->getCalleeContext()->getCallSite(); in generateAllocatedDataNotReleasedReport()
540 AllocStmt = PS->getStmt(); in generateAllocatedDataNotReleasedReport()
542 if (AllocStmt) in generateAllocatedDataNotReleasedReport()
543 LocUsedForUniqueing = PathDiagnosticLocation::createBegin(AllocStmt, in generateAllocatedDataNotReleasedReport()
DRetainCountChecker.cpp2419 const Stmt *AllocStmt = nullptr; in CFRefLeakReport() local
2422 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()