Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
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,
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,
DRetainCountDiagnostics.cpp24 StringRef RefCountBug::bugTypeToName(RefCountBug::RefCountBugKind BT) { in bugTypeToName()
46 StringRef RefCountBug::getDescription() const { in getDescription()
69 RefCountBug::RefCountBug(CheckerNameRef Checker, RefCountBugKind BT) in RefCountBug() function in RefCountBug
456 const auto &BT = static_cast<const RefCountBug&>(BR.getBugType()); in VisitNode()
458 bool IsFreeUnowned = BT.getBugType() == RefCountBug::FreeNotOwned || in VisitNode()
459 BT.getBugType() == RefCountBug::DeallocNotOwned; in VisitNode()
840 RefCountReport::RefCountReport(const RefCountBug &D, const LangOptions &LOpts, in RefCountReport()
848 RefCountReport::RefCountReport(const RefCountBug &D, const LangOptions &LOpts, in RefCountReport()
990 RefLeakReport::RefLeakReport(const RefCountBug &D, const LangOptions &LOpts, in RefLeakReport()
DRetainCountChecker.cpp843 const RefCountBug &
1325 const RefCountBug &BT = Pred ? *LeakWithinFunction : *LeakAtReturn; in processLeaks()
1499 Chk->KIND = std::make_unique<RefCountBug>(Mgr.getCurrentCheckerName(), \ in registerRetainCountChecker()
1500 RefCountBug::KIND); in registerRetainCountChecker()
1532 Chk->KIND = std::make_unique<RefCountBug>(Mgr.getCurrentCheckerName(), \ in registerOSObjectRetainCountChecker()
1533 RefCountBug::KIND); in registerOSObjectRetainCountChecker()