Home
last modified time | relevance | path

Searched refs:RefCountBug (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.h27 class RefCountBug : public BugType {
39 RefCountBug(CheckerNameRef Checker, RefCountBugKind BT);
55 RefCountReport(const RefCountBug &D, const LangOptions &LOpts,
59 RefCountReport(const RefCountBug &D, const LangOptions &LOpts,
87 RefLeakReport(const RefCountBug &D, const LangOptions &LOpts, ExplodedNode *n,
H A DRetainCountChecker.h255 std::unique_ptr<RefCountBug> UseAfterRelease;
256 std::unique_ptr<RefCountBug> ReleaseNotOwned;
257 std::unique_ptr<RefCountBug> DeallocNotOwned;
258 std::unique_ptr<RefCountBug> FreeNotOwned;
259 std::unique_ptr<RefCountBug> OverAutorelease;
260 std::unique_ptr<RefCountBug> ReturnNotOwnedForOwned;
261 std::unique_ptr<RefCountBug> LeakWithinFunction;
262 std::unique_ptr<RefCountBug> LeakAtReturn;
338 const RefCountBug &errorKindToBugKind(RefVal::Kind ErrorKind,
H A DRetainCountDiagnostics.cpp23 StringRef RefCountBug::bugTypeToName(RefCountBug::RefCountBugKind BT) { in bugTypeToName()
45 StringRef RefCountBug::getDescription() const { in getDescription()
68 RefCountBug::RefCountBug(CheckerNameRef Checker, RefCountBugKind BT) in RefCountBug() function in RefCountBug
462 const auto &BT = static_cast<const RefCountBug&>(BR.getBugType()); in VisitNode()
464 bool IsFreeUnowned = BT.getBugType() == RefCountBug::FreeNotOwned || in VisitNode()
465 BT.getBugType() == RefCountBug::DeallocNotOwned; in VisitNode()
844 RefCountReport::RefCountReport(const RefCountBug &D, const LangOptions &LOpts, in RefCountReport()
852 RefCountReport::RefCountReport(const RefCountBug &D, const LangOptions &LOpts, in RefCountReport()
995 RefLeakReport::RefLeakReport(const RefCountBug &D, const LangOptions &LOpts, in RefLeakReport()
H A DRetainCountChecker.cpp842 const RefCountBug &
1323 const RefCountBug &BT = Pred ? *LeakWithinFunction : *LeakAtReturn; in processLeaks()
1497 Chk->KIND = std::make_unique<RefCountBug>(Mgr.getCurrentCheckerName(), \ in registerRetainCountChecker()
1498 RefCountBug::KIND); in registerRetainCountChecker()
1530 Chk->KIND = std::make_unique<RefCountBug>(Mgr.getCurrentCheckerName(), \ in registerOSObjectRetainCountChecker()
1531 RefCountBug::KIND); in registerOSObjectRetainCountChecker()