Lines Matching refs:CFRefBug
1658 class CFRefBug : public BugType { class
1660 CFRefBug(const CheckerBase *checker, StringRef name) in CFRefBug() function in __anonf8e0d6ba0611::CFRefBug
1671 class UseAfterRelease : public CFRefBug {
1674 : CFRefBug(checker, "Use-after-release") {} in UseAfterRelease()
1681 class BadRelease : public CFRefBug {
1683 BadRelease(const CheckerBase *checker) : CFRefBug(checker, "Bad release") {} in BadRelease()
1691 class DeallocGC : public CFRefBug {
1694 : CFRefBug(checker, "-dealloc called while using garbage collection") {} in DeallocGC()
1701 class DeallocNotOwned : public CFRefBug {
1704 : CFRefBug(checker, "-dealloc sent to non-exclusively owned object") {} in DeallocNotOwned()
1711 class OverAutorelease : public CFRefBug {
1714 : CFRefBug(checker, "Object autoreleased too many times") {} in OverAutorelease()
1721 class ReturnedNotOwnedForOwned : public CFRefBug {
1724 : CFRefBug(checker, "Method should return an owned object") {} in ReturnedNotOwnedForOwned()
1732 class Leak : public CFRefBug {
1734 Leak(const CheckerBase *checker, StringRef name) : CFRefBug(checker, name) { in Leak()
1798 CFRefReport(CFRefBug &D, const LangOptions &LOpts, bool GCEnabled, in CFRefReport()
1807 CFRefReport(CFRefBug &D, const LangOptions &LOpts, bool GCEnabled, in CFRefReport()
1816 const CFRefBug& BugTy = static_cast<CFRefBug&>(getBugType()); in getRanges()
1826 CFRefLeakReport(CFRefBug &D, const LangOptions &LOpts, bool GCEnabled,
2390 CFRefLeakReport::CFRefLeakReport(CFRefBug &D, const LangOptions &LOpts, in CFRefLeakReport()
2478 mutable std::unique_ptr<CFRefBug> useAfterRelease, releaseNotOwned;
2479 mutable std::unique_ptr<CFRefBug> deallocGC, deallocNotOwned;
2480 mutable std::unique_ptr<CFRefBug> overAutorelease, returnNotOwnedForOwned;
2481 mutable std::unique_ptr<CFRefBug> leakWithinFunction, leakAtReturn;
2482 mutable std::unique_ptr<CFRefBug> leakWithinFunctionGC, leakAtReturnGC;
2541 CFRefBug *getLeakWithinFunctionBug(const LangOptions &LOpts, in getLeakWithinFunctionBug()
2563 CFRefBug *getLeakAtReturnBug(const LangOptions &LOpts, bool GCEnabled) const { in getLeakAtReturnBug()
3307 CFRefBug *BT; in processNonLeakError()
3848 CFRefBug *BT = Pred ? getLeakWithinFunctionBug(LOpts, GCEnabled) in processLeaks()