Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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 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()
837 RefCountReport::RefCountReport(const RefCountBug &D, const LangOptions &LOpts, in RefCountReport()
845 RefCountReport::RefCountReport(const RefCountBug &D, const LangOptions &LOpts, in RefCountReport()
987 RefLeakReport::RefLeakReport(const RefCountBug &D, const LangOptions &LOpts, in RefLeakReport()
H A DRetainCountChecker.cpp841 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()