Lines Matching refs:IFace
5144 } else if (ObjCInterfaceDecl *IFace = in AddObjCProperties() local
5148 for (auto *Cat : IFace->known_categories()) in AddObjCProperties()
5156 for (auto *I : IFace->all_referenced_protocols()) in AddObjCProperties()
5163 if (IFace->getSuperClass()) in AddObjCProperties()
5164 AddObjCProperties(CCContext, IFace->getSuperClass(), AllowCategories, in AddObjCProperties()
5884 ObjCInterfaceDecl *IFace = in CodeCompleteObjCClassPropertyRefExpr() local
5886 if (!IFace) in CodeCompleteObjCClassPropertyRefExpr()
5895 AddObjCProperties(CCContext, IFace, true, in CodeCompleteObjCClassPropertyRefExpr()
7650 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container); in AddObjCMethods() local
7651 IsRootClass = IsRootClass || (IFace && !IFace->getSuperClass()); in AddObjCMethods()
7687 if (!IFace || !IFace->hasDefinition()) in AddObjCMethods()
7691 for (ObjCProtocolDecl *I : IFace->protocols()) in AddObjCMethods()
7696 for (ObjCCategoryDecl *CatDecl : IFace->known_categories()) { in AddObjCMethods()
7719 if (IFace->getSuperClass()) in AddObjCMethods()
7720 AddObjCMethods(IFace->getSuperClass(), WantInstanceMethods, WantKind, in AddObjCMethods()
7725 if (ObjCImplementationDecl *Impl = IFace->getImplementation()) in AddObjCMethods()
7890 ObjCInterfaceDecl *IFace = nullptr; in GetAssumedMessageSendExprType() local
7895 IFace = ObjType->getInterface(); in GetAssumedMessageSendExprType()
7901 IFace = Ptr->getInterfaceDecl(); in GetAssumedMessageSendExprType()
7910 if (!IFace) in GetAssumedMessageSendExprType()
7913 ObjCInterfaceDecl *Super = IFace->getSuperClass(); in GetAssumedMessageSendExprType()
7916 .Case("retain", IFace) in GetAssumedMessageSendExprType()
7917 .Case("strong", IFace) in GetAssumedMessageSendExprType()
7918 .Case("autorelease", IFace) in GetAssumedMessageSendExprType()
7919 .Case("copy", IFace) in GetAssumedMessageSendExprType()
7920 .Case("copyWithZone", IFace) in GetAssumedMessageSendExprType()
7921 .Case("mutableCopy", IFace) in GetAssumedMessageSendExprType()
7922 .Case("mutableCopyWithZone", IFace) in GetAssumedMessageSendExprType()
7923 .Case("awakeFromCoder", IFace) in GetAssumedMessageSendExprType()
7924 .Case("replacementObjectFromCoder", IFace) in GetAssumedMessageSendExprType()
7925 .Case("class", IFace) in GetAssumedMessageSendExprType()
7926 .Case("classForCoder", IFace) in GetAssumedMessageSendExprType()
7931 .Case("new", IFace) in GetAssumedMessageSendExprType()
7932 .Case("alloc", IFace) in GetAssumedMessageSendExprType()
7933 .Case("allocWithZone", IFace) in GetAssumedMessageSendExprType()
7934 .Case("class", IFace) in GetAssumedMessageSendExprType()
8329 if (ObjCInterfaceDecl *IFace = GetAssumedMessageSendExprType(RecExpr)) { in CodeCompleteObjCInstanceMessage() local
8332 S, ParsedType::make(Context.getObjCInterfaceType(IFace)), SelIdents, in CodeCompleteObjCInstanceMessage()
8336 Context.getObjCObjectPointerType(Context.getObjCInterfaceType(IFace)); in CodeCompleteObjCInstanceMessage()
8931 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container)) { in FindImplementableMethods() local
8933 if (!IFace->hasDefinition()) in FindImplementableMethods()
8936 IFace = IFace->getDefinition(); in FindImplementableMethods()
8937 Container = IFace; in FindImplementableMethods()
8940 IFace->getReferencedProtocols(); in FindImplementableMethods()
8948 for (auto *Cat : IFace->visible_categories()) { in FindImplementableMethods()
8954 if (IFace->getSuperClass()) in FindImplementableMethods()
8955 FindImplementableMethods(Context, IFace->getSuperClass(), in FindImplementableMethods()
9151 if (ObjCInterfaceDecl *IFace = ObjCPointer->getInterfaceDecl()) { in AddObjCKeyValueCompletions() local
9154 if (!InheritsFromClassNamed(IFace, "NSMutableArray")) { in AddObjCKeyValueCompletions()
9156 if (!InheritsFromClassNamed(IFace, "NSArray")) in AddObjCKeyValueCompletions()
9160 if (!InheritsFromClassNamed(IFace, "NSMutableSet")) { in AddObjCKeyValueCompletions()
9162 if (!InheritsFromClassNamed(IFace, "NSSet")) in AddObjCKeyValueCompletions()
9806 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(SearchDecl); in CodeCompleteObjCMethodDecl() local
9807 if (!IFace) in CodeCompleteObjCMethodDecl()
9809 IFace = Category->getClassInterface(); in CodeCompleteObjCMethodDecl()
9811 if (IFace) in CodeCompleteObjCMethodDecl()
9812 llvm::append_range(Containers, IFace->visible_categories()); in CodeCompleteObjCMethodDecl()