Lines Matching refs:IMD
320 ObjCImplementationDecl *IMD,
918 ObjCImplementationDecl *IMD, in RewritePropertyImplDecl() argument
933 startGetterSetterLoc = IMD ? IMD->getEndLoc() : CID->getEndLoc(); in RewritePropertyImplDecl()
941 assert(IMD && OID && "Synthesized ivars must be attached to @implementation"); in RewritePropertyImplDecl()
944 if (mustSynthesizeSetterGetterMethod(IMD, PD, true /*getter*/)) { in RewritePropertyImplDecl()
1002 !mustSynthesizeSetterGetterMethod(IMD, PD, false /*setter*/)) in RewritePropertyImplDecl()
1334 ObjCImplementationDecl *IMD = dyn_cast<ObjCImplementationDecl>(OID); in RewriteImplementationDecl() local
1336 assert((IMD || CID) && "Unknown implementation type"); in RewriteImplementationDecl()
1338 if (IMD) { in RewriteImplementationDecl()
1339 if (IMD->getIvarRBraceLoc().isValid()) { in RewriteImplementationDecl()
1340 ReplaceText(IMD->getBeginLoc(), 1, "/** "); in RewriteImplementationDecl()
1341 ReplaceText(IMD->getIvarRBraceLoc(), 1, "**/ "); in RewriteImplementationDecl()
1344 InsertText(IMD->getBeginLoc(), "// "); in RewriteImplementationDecl()
1350 for (auto *OMD : IMD ? IMD->instance_methods() : CID->instance_methods()) { in RewriteImplementationDecl()
1363 for (auto *OMD : IMD ? IMD->class_methods() : CID->class_methods()) { in RewriteImplementationDecl()
1375 for (auto *I : IMD ? IMD->property_impls() : CID->property_impls()) in RewriteImplementationDecl()
1376 RewritePropertyImplDecl(I, IMD, CID); in RewriteImplementationDecl()
1378 InsertText(IMD ? IMD->getEndLoc() : CID->getEndLoc(), "// "); in RewriteImplementationDecl()