Lines Matching refs:IFace
4739 } else if (ObjCInterfaceDecl *IFace = in AddObjCProperties() local
4743 for (auto *Cat : IFace->known_categories()) in AddObjCProperties()
4751 for (auto *I : IFace->all_referenced_protocols()) in AddObjCProperties()
4758 if (IFace->getSuperClass()) in AddObjCProperties()
4759 AddObjCProperties(CCContext, IFace->getSuperClass(), AllowCategories, in AddObjCProperties()
5444 ObjCInterfaceDecl *IFace = getObjCInterfaceDecl(ClassNamePtr, ClassNameLoc); in CodeCompleteObjCClassPropertyRefExpr() local
5445 if (!IFace) in CodeCompleteObjCClassPropertyRefExpr()
5454 AddObjCProperties(CCContext, IFace, true, in CodeCompleteObjCClassPropertyRefExpr()
6950 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container); in AddObjCMethods() local
6951 IsRootClass = IsRootClass || (IFace && !IFace->getSuperClass()); in AddObjCMethods()
6987 if (!IFace || !IFace->hasDefinition()) in AddObjCMethods()
6991 for (ObjCProtocolDecl *I : IFace->protocols()) in AddObjCMethods()
6996 for (ObjCCategoryDecl *CatDecl : IFace->known_categories()) { in AddObjCMethods()
7019 if (IFace->getSuperClass()) in AddObjCMethods()
7020 AddObjCMethods(IFace->getSuperClass(), WantInstanceMethods, WantKind, in AddObjCMethods()
7025 if (ObjCImplementationDecl *Impl = IFace->getImplementation()) in AddObjCMethods()
7183 ObjCInterfaceDecl *IFace = nullptr; in GetAssumedMessageSendExprType() local
7188 IFace = ObjType->getInterface(); in GetAssumedMessageSendExprType()
7194 IFace = Ptr->getInterfaceDecl(); in GetAssumedMessageSendExprType()
7203 if (!IFace) in GetAssumedMessageSendExprType()
7206 ObjCInterfaceDecl *Super = IFace->getSuperClass(); in GetAssumedMessageSendExprType()
7209 .Case("retain", IFace) in GetAssumedMessageSendExprType()
7210 .Case("strong", IFace) in GetAssumedMessageSendExprType()
7211 .Case("autorelease", IFace) in GetAssumedMessageSendExprType()
7212 .Case("copy", IFace) in GetAssumedMessageSendExprType()
7213 .Case("copyWithZone", IFace) in GetAssumedMessageSendExprType()
7214 .Case("mutableCopy", IFace) in GetAssumedMessageSendExprType()
7215 .Case("mutableCopyWithZone", IFace) in GetAssumedMessageSendExprType()
7216 .Case("awakeFromCoder", IFace) in GetAssumedMessageSendExprType()
7217 .Case("replacementObjectFromCoder", IFace) in GetAssumedMessageSendExprType()
7218 .Case("class", IFace) in GetAssumedMessageSendExprType()
7219 .Case("classForCoder", IFace) in GetAssumedMessageSendExprType()
7224 .Case("new", IFace) in GetAssumedMessageSendExprType()
7225 .Case("alloc", IFace) in GetAssumedMessageSendExprType()
7226 .Case("allocWithZone", IFace) in GetAssumedMessageSendExprType()
7227 .Case("class", IFace) in GetAssumedMessageSendExprType()
7617 if (ObjCInterfaceDecl *IFace = GetAssumedMessageSendExprType(RecExpr)) { in CodeCompleteObjCInstanceMessage() local
7620 S, ParsedType::make(Context.getObjCInterfaceType(IFace)), SelIdents, in CodeCompleteObjCInstanceMessage()
7624 Context.getObjCObjectPointerType(Context.getObjCInterfaceType(IFace)); in CodeCompleteObjCInstanceMessage()
8186 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container)) { in FindImplementableMethods() local
8188 if (!IFace->hasDefinition()) in FindImplementableMethods()
8191 IFace = IFace->getDefinition(); in FindImplementableMethods()
8192 Container = IFace; in FindImplementableMethods()
8195 IFace->getReferencedProtocols(); in FindImplementableMethods()
8203 for (auto *Cat : IFace->visible_categories()) { in FindImplementableMethods()
8209 if (IFace->getSuperClass()) in FindImplementableMethods()
8210 FindImplementableMethods(Context, IFace->getSuperClass(), in FindImplementableMethods()
8406 if (ObjCInterfaceDecl *IFace = ObjCPointer->getInterfaceDecl()) { in AddObjCKeyValueCompletions() local
8409 if (!InheritsFromClassNamed(IFace, "NSMutableArray")) { in AddObjCKeyValueCompletions()
8411 if (!InheritsFromClassNamed(IFace, "NSArray")) in AddObjCKeyValueCompletions()
8415 if (!InheritsFromClassNamed(IFace, "NSMutableSet")) { in AddObjCKeyValueCompletions()
8417 if (!InheritsFromClassNamed(IFace, "NSSet")) in AddObjCKeyValueCompletions()
9060 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(SearchDecl); in CodeCompleteObjCMethodDecl() local
9061 if (!IFace) in CodeCompleteObjCMethodDecl()
9063 IFace = Category->getClassInterface(); in CodeCompleteObjCMethodDecl()
9065 if (IFace) in CodeCompleteObjCMethodDecl()
9066 for (auto *Cat : IFace->visible_categories()) in CodeCompleteObjCMethodDecl()