Lines Matching refs:IFace
4138 } else if (ObjCInterfaceDecl *IFace = in AddObjCProperties() local
4142 for (auto *Cat : IFace->known_categories()) in AddObjCProperties()
4150 for (auto *I : IFace->all_referenced_protocols()) in AddObjCProperties()
4157 if (IFace->getSuperClass()) in AddObjCProperties()
4158 AddObjCProperties(CCContext, IFace->getSuperClass(), AllowCategories, in AddObjCProperties()
4354 ObjCInterfaceDecl *IFace = getObjCInterfaceDecl(ClassNamePtr, ClassNameLoc); in CodeCompleteObjCClassPropertyRefExpr() local
4355 if (!IFace) in CodeCompleteObjCClassPropertyRefExpr()
4364 AddObjCProperties(CCContext, IFace, true, in CodeCompleteObjCClassPropertyRefExpr()
5812 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container); in AddObjCMethods() local
5813 IsRootClass = IsRootClass || (IFace && !IFace->getSuperClass()); in AddObjCMethods()
5849 if (!IFace || !IFace->hasDefinition()) in AddObjCMethods()
5853 for (ObjCProtocolDecl *I : IFace->protocols()) in AddObjCMethods()
5858 for (ObjCCategoryDecl *CatDecl : IFace->known_categories()) { in AddObjCMethods()
5881 if (IFace->getSuperClass()) in AddObjCMethods()
5882 AddObjCMethods(IFace->getSuperClass(), WantInstanceMethods, WantKind, in AddObjCMethods()
5887 if (ObjCImplementationDecl *Impl = IFace->getImplementation()) in AddObjCMethods()
6045 ObjCInterfaceDecl *IFace = nullptr; in GetAssumedMessageSendExprType() local
6050 IFace = ObjType->getInterface(); in GetAssumedMessageSendExprType()
6056 IFace = Ptr->getInterfaceDecl(); in GetAssumedMessageSendExprType()
6065 if (!IFace) in GetAssumedMessageSendExprType()
6068 ObjCInterfaceDecl *Super = IFace->getSuperClass(); in GetAssumedMessageSendExprType()
6071 .Case("retain", IFace) in GetAssumedMessageSendExprType()
6072 .Case("strong", IFace) in GetAssumedMessageSendExprType()
6073 .Case("autorelease", IFace) in GetAssumedMessageSendExprType()
6074 .Case("copy", IFace) in GetAssumedMessageSendExprType()
6075 .Case("copyWithZone", IFace) in GetAssumedMessageSendExprType()
6076 .Case("mutableCopy", IFace) in GetAssumedMessageSendExprType()
6077 .Case("mutableCopyWithZone", IFace) in GetAssumedMessageSendExprType()
6078 .Case("awakeFromCoder", IFace) in GetAssumedMessageSendExprType()
6079 .Case("replacementObjectFromCoder", IFace) in GetAssumedMessageSendExprType()
6080 .Case("class", IFace) in GetAssumedMessageSendExprType()
6081 .Case("classForCoder", IFace) in GetAssumedMessageSendExprType()
6086 .Case("new", IFace) in GetAssumedMessageSendExprType()
6087 .Case("alloc", IFace) in GetAssumedMessageSendExprType()
6088 .Case("allocWithZone", IFace) in GetAssumedMessageSendExprType()
6089 .Case("class", IFace) in GetAssumedMessageSendExprType()
6478 if (ObjCInterfaceDecl *IFace = GetAssumedMessageSendExprType(RecExpr)) { in CodeCompleteObjCInstanceMessage() local
6481 S, ParsedType::make(Context.getObjCInterfaceType(IFace)), SelIdents, in CodeCompleteObjCInstanceMessage()
6485 Context.getObjCObjectPointerType(Context.getObjCInterfaceType(IFace)); in CodeCompleteObjCInstanceMessage()
7047 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container)) { in FindImplementableMethods() local
7049 if (!IFace->hasDefinition()) in FindImplementableMethods()
7052 IFace = IFace->getDefinition(); in FindImplementableMethods()
7053 Container = IFace; in FindImplementableMethods()
7056 IFace->getReferencedProtocols(); in FindImplementableMethods()
7064 for (auto *Cat : IFace->visible_categories()) { in FindImplementableMethods()
7070 if (IFace->getSuperClass()) in FindImplementableMethods()
7071 FindImplementableMethods(Context, IFace->getSuperClass(), in FindImplementableMethods()
7267 if (ObjCInterfaceDecl *IFace = ObjCPointer->getInterfaceDecl()) { in AddObjCKeyValueCompletions() local
7270 if (!InheritsFromClassNamed(IFace, "NSMutableArray")) { in AddObjCKeyValueCompletions()
7272 if (!InheritsFromClassNamed(IFace, "NSArray")) in AddObjCKeyValueCompletions()
7276 if (!InheritsFromClassNamed(IFace, "NSMutableSet")) { in AddObjCKeyValueCompletions()
7278 if (!InheritsFromClassNamed(IFace, "NSSet")) in AddObjCKeyValueCompletions()
7917 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(SearchDecl); in CodeCompleteObjCMethodDecl() local
7918 if (!IFace) in CodeCompleteObjCMethodDecl()
7920 IFace = Category->getClassInterface(); in CodeCompleteObjCMethodDecl()
7922 if (IFace) in CodeCompleteObjCMethodDecl()
7923 for (auto *Cat : IFace->visible_categories()) in CodeCompleteObjCMethodDecl()