Lines Matching refs:IFace
5130 } else if (ObjCInterfaceDecl *IFace = in AddObjCProperties() local
5134 for (auto *Cat : IFace->known_categories()) in AddObjCProperties()
5142 for (auto *I : IFace->all_referenced_protocols()) in AddObjCProperties()
5149 if (IFace->getSuperClass()) in AddObjCProperties()
5150 AddObjCProperties(CCContext, IFace->getSuperClass(), AllowCategories, in AddObjCProperties()
5857 ObjCInterfaceDecl *IFace = getObjCInterfaceDecl(ClassNamePtr, ClassNameLoc); in CodeCompleteObjCClassPropertyRefExpr() local
5858 if (!IFace) in CodeCompleteObjCClassPropertyRefExpr()
5867 AddObjCProperties(CCContext, IFace, true, in CodeCompleteObjCClassPropertyRefExpr()
7581 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container); in AddObjCMethods() local
7582 IsRootClass = IsRootClass || (IFace && !IFace->getSuperClass()); in AddObjCMethods()
7618 if (!IFace || !IFace->hasDefinition()) in AddObjCMethods()
7622 for (ObjCProtocolDecl *I : IFace->protocols()) in AddObjCMethods()
7627 for (ObjCCategoryDecl *CatDecl : IFace->known_categories()) { in AddObjCMethods()
7650 if (IFace->getSuperClass()) in AddObjCMethods()
7651 AddObjCMethods(IFace->getSuperClass(), WantInstanceMethods, WantKind, in AddObjCMethods()
7656 if (ObjCImplementationDecl *Impl = IFace->getImplementation()) in AddObjCMethods()
7816 ObjCInterfaceDecl *IFace = nullptr; in GetAssumedMessageSendExprType() local
7821 IFace = ObjType->getInterface(); in GetAssumedMessageSendExprType()
7827 IFace = Ptr->getInterfaceDecl(); in GetAssumedMessageSendExprType()
7836 if (!IFace) in GetAssumedMessageSendExprType()
7839 ObjCInterfaceDecl *Super = IFace->getSuperClass(); in GetAssumedMessageSendExprType()
7842 .Case("retain", IFace) in GetAssumedMessageSendExprType()
7843 .Case("strong", IFace) in GetAssumedMessageSendExprType()
7844 .Case("autorelease", IFace) in GetAssumedMessageSendExprType()
7845 .Case("copy", IFace) in GetAssumedMessageSendExprType()
7846 .Case("copyWithZone", IFace) in GetAssumedMessageSendExprType()
7847 .Case("mutableCopy", IFace) in GetAssumedMessageSendExprType()
7848 .Case("mutableCopyWithZone", IFace) in GetAssumedMessageSendExprType()
7849 .Case("awakeFromCoder", IFace) in GetAssumedMessageSendExprType()
7850 .Case("replacementObjectFromCoder", IFace) in GetAssumedMessageSendExprType()
7851 .Case("class", IFace) in GetAssumedMessageSendExprType()
7852 .Case("classForCoder", IFace) in GetAssumedMessageSendExprType()
7857 .Case("new", IFace) in GetAssumedMessageSendExprType()
7858 .Case("alloc", IFace) in GetAssumedMessageSendExprType()
7859 .Case("allocWithZone", IFace) in GetAssumedMessageSendExprType()
7860 .Case("class", IFace) in GetAssumedMessageSendExprType()
8251 if (ObjCInterfaceDecl *IFace = GetAssumedMessageSendExprType(RecExpr)) { in CodeCompleteObjCInstanceMessage() local
8254 S, ParsedType::make(Context.getObjCInterfaceType(IFace)), SelIdents, in CodeCompleteObjCInstanceMessage()
8258 Context.getObjCObjectPointerType(Context.getObjCInterfaceType(IFace)); in CodeCompleteObjCInstanceMessage()
8838 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container)) { in FindImplementableMethods() local
8840 if (!IFace->hasDefinition()) in FindImplementableMethods()
8843 IFace = IFace->getDefinition(); in FindImplementableMethods()
8844 Container = IFace; in FindImplementableMethods()
8847 IFace->getReferencedProtocols(); in FindImplementableMethods()
8855 for (auto *Cat : IFace->visible_categories()) { in FindImplementableMethods()
8861 if (IFace->getSuperClass()) in FindImplementableMethods()
8862 FindImplementableMethods(Context, IFace->getSuperClass(), in FindImplementableMethods()
9058 if (ObjCInterfaceDecl *IFace = ObjCPointer->getInterfaceDecl()) { in AddObjCKeyValueCompletions() local
9061 if (!InheritsFromClassNamed(IFace, "NSMutableArray")) { in AddObjCKeyValueCompletions()
9063 if (!InheritsFromClassNamed(IFace, "NSArray")) in AddObjCKeyValueCompletions()
9067 if (!InheritsFromClassNamed(IFace, "NSMutableSet")) { in AddObjCKeyValueCompletions()
9069 if (!InheritsFromClassNamed(IFace, "NSSet")) in AddObjCKeyValueCompletions()
9713 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(SearchDecl); in CodeCompleteObjCMethodDecl() local
9714 if (!IFace) in CodeCompleteObjCMethodDecl()
9716 IFace = Category->getClassInterface(); in CodeCompleteObjCMethodDecl()
9718 if (IFace) in CodeCompleteObjCMethodDecl()
9719 llvm::append_range(Containers, IFace->visible_categories()); in CodeCompleteObjCMethodDecl()