Searched refs:FinalizeM (Results 1 – 2 of 2) sorted by relevance
209 ObjCMethodDecl *FinalizeM = nullptr; in cleanupDeallocOrFinalize() local217 FinalizeM = MD; in cleanupDeallocOrFinalize()227 if (FinalizeM) { in cleanupDeallocOrFinalize()229 TA.remove(FinalizeM->getSourceRange()); in cleanupDeallocOrFinalize()232 } else if (FinalizeM) { in cleanupDeallocOrFinalize()233 if (isBodyEmpty(FinalizeM->getCompoundBody(), Ctx, pass.ARCMTMacroLocs)) { in cleanupDeallocOrFinalize()235 TA.remove(FinalizeM->getSourceRange()); in cleanupDeallocOrFinalize()238 TA.replaceText(FinalizeM->getSelectorStartLoc(), "finalize", "dealloc"); in cleanupDeallocOrFinalize()
542 const ObjCMethodDecl *FinalizeM = MD; in GCRewriteFinalize() local544 TA.insert(FinalizeM->getSourceRange().getBegin(), in GCRewriteFinalize()546 CharSourceRange::getTokenRange(FinalizeM->getSourceRange()); in GCRewriteFinalize()552 CharSourceRange::getTokenRange(FinalizeM->getSourceRange()), in GCRewriteFinalize()554 TA.insertAfterToken(FinalizeM->getSourceRange().getEnd(), str); in GCRewriteFinalize()