Lines Matching refs:OM
43 ObjCMethodDecl *OM);
45 ObjCMethodDecl *OM,
567 ObjCMethodDecl *OM) {
570 if (TypeSourceInfo *TSInfo = OM->getResultTypeSourceInfo()) {
576 R = SourceRange(OM->getLocStart(), OM->getLocStart());
577 ClassString = OM->isInstanceMethod() ? '-' : '+';
587 ObjCMethodDecl *OM) {
589 Selector::getInstTypeMethodFamily(OM->getSelector());
594 migrateFactoryMethod(Ctx, CDecl, OM);
606 migrateFactoryMethod(Ctx, CDecl, OM, OIT_Singleton);
609 if (!OM->getResultType()->isObjCIdType())
621 migrateFactoryMethod(Ctx, CDecl, OM);
624 ReplaceWithInstancetype(*this, OM);
640 ObjCMethodDecl *OM,
642 if (OM->isInstanceMethod() ||
643 OM->getResultType() == Ctx.getObjCInstanceType() ||
644 !OM->getResultType()->isObjCIdType())
664 IdentifierInfo *MethodIdName = OM->getSelector().getIdentifierInfoForSlot(0);
692 ReplaceWithInstancetype(*this, OM);