Lines Matching refs:IMD
320 ObjCImplementationDecl *IMD,
916 ObjCImplementationDecl *IMD, in RewritePropertyImplDecl() argument
932 startGetterSetterLoc = IMD ? IMD->getLocEnd() : CID->getLocEnd(); in RewritePropertyImplDecl()
940 assert(IMD && OID && "Synthesized ivars must be attached to @implementation"); in RewritePropertyImplDecl()
943 if (mustSynthesizeSetterGetterMethod(IMD, PD, true /*getter*/)) { in RewritePropertyImplDecl()
1000 !mustSynthesizeSetterGetterMethod(IMD, PD, false /*setter*/)) in RewritePropertyImplDecl()
1332 ObjCImplementationDecl *IMD = dyn_cast<ObjCImplementationDecl>(OID); in RewriteImplementationDecl() local
1335 if (IMD) { in RewriteImplementationDecl()
1336 if (IMD->getIvarRBraceLoc().isValid()) { in RewriteImplementationDecl()
1337 ReplaceText(IMD->getLocStart(), 1, "/** "); in RewriteImplementationDecl()
1338 ReplaceText(IMD->getIvarRBraceLoc(), 1, "**/ "); in RewriteImplementationDecl()
1341 InsertText(IMD->getLocStart(), "// "); in RewriteImplementationDecl()
1347 for (auto *OMD : IMD ? IMD->instance_methods() : CID->instance_methods()) { in RewriteImplementationDecl()
1358 for (auto *OMD : IMD ? IMD->class_methods() : CID->class_methods()) { in RewriteImplementationDecl()
1368 for (auto *I : IMD ? IMD->property_impls() : CID->property_impls()) in RewriteImplementationDecl()
1369 RewritePropertyImplDecl(I, IMD, CID); in RewriteImplementationDecl()
1371 InsertText(IMD ? IMD->getLocEnd() : CID->getLocEnd(), "// "); in RewriteImplementationDecl()