Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.h27 class RefCountBug : public BugType {
29 RefCountBug(const CheckerBase *checker, StringRef name) in RefCountBug() function
43 RefCountReport(RefCountBug &D, const LangOptions &LOpts,
47 RefCountReport(RefCountBug &D, const LangOptions &LOpts,
52 const RefCountBug& BugTy = static_cast<RefCountBug&>(getBugType()); in getRanges()
72 RefLeakReport(RefCountBug &D, const LangOptions &LOpts, ExplodedNode *n,
H A DRetainCountChecker.h254 mutable std::unique_ptr<RefCountBug> useAfterRelease, releaseNotOwned;
255 mutable std::unique_ptr<RefCountBug> deallocNotOwned;
256 mutable std::unique_ptr<RefCountBug> overAutorelease, returnNotOwnedForOwned;
257 mutable std::unique_ptr<RefCountBug> leakWithinFunction, leakAtReturn;
271 RefCountBug *getLeakWithinFunctionBug(const LangOptions &LOpts) const;
273 RefCountBug *getLeakAtReturnBug(const LangOptions &LOpts) const;
H A DRetainCountChecker.cpp42 class UseAfterRelease : public RefCountBug {
45 : RefCountBug(checker, "Use-after-release") {} in UseAfterRelease()
52 class BadRelease : public RefCountBug {
62 class DeallocNotOwned : public RefCountBug {
72 class OverAutorelease : public RefCountBug {
82 class ReturnedNotOwnedForOwned : public RefCountBug {
93 class Leak : public RefCountBug {
417 RefCountBug *
424 RefCountBug *
877 RefCountBug *BT; in processNonLeakError()
[all …]
H A DRetainCountDiagnostics.cpp688 RefCountReport::RefCountReport(RefCountBug &D, const LangOptions &LOpts, in RefCountReport()
696 RefCountReport::RefCountReport(RefCountBug &D, const LangOptions &LOpts, in RefCountReport()
782 RefLeakReport::RefLeakReport(RefCountBug &D, const LangOptions &LOpts, in RefLeakReport()