Lines Matching defs:IMD
319 ObjCImplementationDecl *IMD,
917 ObjCImplementationDecl *IMD,
932 startGetterSetterLoc = IMD ? IMD->getEndLoc() : CID->getEndLoc();
940 assert(IMD && OID && "Synthesized ivars must be attached to @implementation");
943 if (mustSynthesizeSetterGetterMethod(IMD, PD, true /*getter*/)) {
1001 !mustSynthesizeSetterGetterMethod(IMD, PD, false /*setter*/))
1333 ObjCImplementationDecl *IMD = dyn_cast<ObjCImplementationDecl>(OID);
1335 assert((IMD || CID) && "Unknown implementation type");
1337 if (IMD) {
1338 if (IMD->getIvarRBraceLoc().isValid()) {
1339 ReplaceText(IMD->getBeginLoc(), 1, "/** ");
1340 ReplaceText(IMD->getIvarRBraceLoc(), 1, "**/ ");
1343 InsertText(IMD->getBeginLoc(), "// ");
1349 for (auto *OMD : IMD ? IMD->instance_methods() : CID->instance_methods()) {
1362 for (auto *OMD : IMD ? IMD->class_methods() : CID->class_methods()) {
1374 for (auto *I : IMD ? IMD->property_impls() : CID->property_impls())
1375 RewritePropertyImplDecl(I, IMD, CID);
1377 InsertText(IMD ? IMD->getEndLoc() : CID->getEndLoc(), "// ");