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