Lines Matching defs:CFRefBug

1544   class CFRefBug : public BugType {
1546 CFRefBug(StringRef name)
1556 class UseAfterRelease : public CFRefBug {
1558 UseAfterRelease() : CFRefBug("Use-after-release") {}
1565 class BadRelease : public CFRefBug {
1567 BadRelease() : CFRefBug("Bad release") {}
1575 class DeallocGC : public CFRefBug {
1578 : CFRefBug("-dealloc called while using garbage collection") {}
1585 class DeallocNotOwned : public CFRefBug {
1588 : CFRefBug("-dealloc sent to non-exclusively owned object") {}
1595 class OverAutorelease : public CFRefBug {
1598 : CFRefBug("Object autoreleased too many times") {}
1605 class ReturnedNotOwnedForOwned : public CFRefBug {
1608 : CFRefBug("Method should return an owned object") {}
1616 class Leak : public CFRefBug {
1619 : CFRefBug(name) {
1683 CFRefReport(CFRefBug &D, const LangOptions &LOpts, bool GCEnabled,
1692 CFRefReport(CFRefBug &D, const LangOptions &LOpts, bool GCEnabled,
1701 const CFRefBug& BugTy = static_cast<CFRefBug&>(getBugType());
1712 CFRefLeakReport(CFRefBug &D, const LangOptions &LOpts, bool GCEnabled,
2250 CFRefLeakReport::CFRefLeakReport(CFRefBug &D, const LangOptions &LOpts,
2336 mutable OwningPtr<CFRefBug> useAfterRelease, releaseNotOwned;
2337 mutable OwningPtr<CFRefBug> deallocGC, deallocNotOwned;
2338 mutable OwningPtr<CFRefBug> overAutorelease, returnNotOwnedForOwned;
2339 mutable OwningPtr<CFRefBug> leakWithinFunction, leakAtReturn;
2340 mutable OwningPtr<CFRefBug> leakWithinFunctionGC, leakAtReturnGC;
2401 CFRefBug *getLeakWithinFunctionBug(const LangOptions &LOpts,
2422 CFRefBug *getLeakAtReturnBug(const LangOptions &LOpts, bool GCEnabled) const {
3050 CFRefBug *BT;
3554 CFRefBug *BT = Pred ? getLeakWithinFunctionBug(LOpts, GCEnabled)