Lines Matching defs:IMD

446     ObjCMethodDecl *IMD =
449 if (IMD) {
453 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext());
467 DiagnoseObjCImplementedDeprecations(SemaRef, IMD, MDecl->getLocation());
4687 auto diagClash = [&](const ObjCMethodDecl *IMD) {
4688 if (diagnosed || IMD->isImplicit())
4690 if (Method->isDirectMethod() || IMD->isDirectMethod()) {
4692 << Method->isDirectMethod() << /* method */ 0 << IMD->isDirectMethod()
4694 S.Diag(IMD->getLocation(), diag::note_previous_declaration);
4712 if (auto *IMD = IDecl->getMethod(Sel, isInstance))
4713 diagClash(IMD);
4716 if (auto *IMD = IDecl->getImplementation()->getMethod(Sel, isInstance))
4717 diagClash(IMD);
4720 if (auto *IMD = Cat->getMethod(Sel, isInstance))
4721 diagClash(IMD);
4724 if (auto *IMD = Cat->getMethod(Sel, isInstance))
4725 diagClash(IMD);
4904 if (auto *IMD = IDecl->lookupMethod(ObjCMethod->getSelector(),
4906 mergeInterfaceMethodToImpl(SemaRef, ObjCMethod, IMD);
4924 if (IDecl == IMD->getClassInterface()) {
4928 if (auto *Cat = dyn_cast<ObjCCategoryDecl>(IMD->getDeclContext()))
4937 Diag(IMD->getLocation(), diag::note_previous_declaration);
4942 if (ObjCMethod->getCanonicalDecl() != IMD) {
4944 } else if (!IMD->isDirectMethod()) {
4946 Diag(IMD->getLocation(), diag::note_previous_declaration);
4948 } else if (IMD->isDirectMethod()) {
4949 const auto *attr = IMD->getAttr<ObjCDirectAttr>();
4950 if (ObjCMethod->getCanonicalDecl() != IMD) {
4960 if (isa<ObjCCategoryImplDecl>(ImpDecl) && IMD->isOverriding() &&
4975 if (auto *IMD = P->lookupMethod(ObjCMethod->getSelector(),
4978 IMD->parameters().size() &&
4980 auto OI = IMD->param_begin(), OE = IMD->param_end();