Lines Matching refs:GCEnabled
602 const bool GCEnabled; member in __anonbe000e510511::RetainSummaryManager
736 GCEnabled(gcenabled), in RetainSummaryManager()
804 bool isGCEnabled() const { return GCEnabled; } in isGCEnabled()
808 bool isARCorGCEnabled() const { return GCEnabled || ARCEnabled; } in isARCorGCEnabled()
1751 bool GCEnabled; member in __anonbe000e510611::CFRefReportVisitor
1755 : Sym(sym), SummaryLog(log), GCEnabled(gcEnabled) {} in CFRefReportVisitor()
1775 CFRefLeakReportVisitor(SymbolRef sym, bool GCEnabled, in CFRefLeakReportVisitor() argument
1777 : CFRefReportVisitor(sym, GCEnabled, log) {} in CFRefLeakReportVisitor()
1794 void addGCModeDescription(const LangOptions &LOpts, bool GCEnabled);
1797 CFRefReport(CFRefBug &D, const LangOptions &LOpts, bool GCEnabled, in CFRefReport() argument
1802 addVisitor(llvm::make_unique<CFRefReportVisitor>(sym, GCEnabled, Log)); in CFRefReport()
1803 addGCModeDescription(LOpts, GCEnabled); in CFRefReport()
1806 CFRefReport(CFRefBug &D, const LangOptions &LOpts, bool GCEnabled, in CFRefReport() argument
1810 addVisitor(llvm::make_unique<CFRefReportVisitor>(sym, GCEnabled, Log)); in CFRefReport()
1811 addGCModeDescription(LOpts, GCEnabled); in CFRefReport()
1825 CFRefLeakReport(CFRefBug &D, const LangOptions &LOpts, bool GCEnabled,
1838 bool GCEnabled) { in addGCModeDescription() argument
1843 assert(GCEnabled); in addGCModeDescription()
1848 assert(!GCEnabled); in addGCModeDescription()
1853 if (GCEnabled) { in addGCModeDescription()
1990 if (GCEnabled) { in VisitNode()
2049 if (!GCEnabled && std::find(AEffects.begin(), AEffects.end(), Dealloc) != in VisitNode()
2071 if (GCEnabled) { in VisitNode()
2121 assert(GCEnabled && CurrV.getCount() > 0); in VisitNode()
2159 if (GCEnabled) in VisitNode()
2390 bool GCEnabled, const SummaryLogTy &Log, in CFRefLeakReport() argument
2394 : CFRefReport(D, LOpts, GCEnabled, Log, n, sym, false) { in CFRefLeakReport()
2441 if (GCEnabled) in CFRefLeakReport()
2453 addVisitor(llvm::make_unique<CFRefLeakReportVisitor>(sym, GCEnabled, Log)); in CFRefLeakReport()
2541 bool GCEnabled) const { in getLeakWithinFunctionBug()
2542 if (GCEnabled) { in getLeakWithinFunctionBug()
2562 CFRefBug *getLeakAtReturnBug(const LangOptions &LOpts, bool GCEnabled) const { in getLeakAtReturnBug()
2563 if (GCEnabled) { in getLeakAtReturnBug()
2585 bool GCEnabled) const { in getSummaryManager()
2589 if (GCEnabled) { in getSummaryManager()
3573 bool GCEnabled = C.isObjCGCEnabled(); in checkReturnWithRetEffect() local
3575 *getLeakAtReturnBug(LOpts, GCEnabled), LOpts, GCEnabled, in checkReturnWithRetEffect()
3854 bool GCEnabled = Ctx.isObjCGCEnabled(); in processLeaks() local
3855 CFRefBug *BT = Pred ? getLeakWithinFunctionBug(LOpts, GCEnabled) in processLeaks()
3856 : getLeakAtReturnBug(LOpts, GCEnabled); in processLeaks()
3860 new CFRefLeakReport(*BT, LOpts, GCEnabled, SummaryLog, N, *I, Ctx, in processLeaks()