Lines Matching refs:IFace
5013 } else if (ObjCInterfaceDecl *IFace = in AddObjCProperties() local
5017 for (auto *Cat : IFace->known_categories()) in AddObjCProperties()
5025 for (auto *I : IFace->all_referenced_protocols()) in AddObjCProperties()
5032 if (IFace->getSuperClass()) in AddObjCProperties()
5033 AddObjCProperties(CCContext, IFace->getSuperClass(), AllowCategories, in AddObjCProperties()
5725 ObjCInterfaceDecl *IFace = getObjCInterfaceDecl(ClassNamePtr, ClassNameLoc); in CodeCompleteObjCClassPropertyRefExpr() local
5726 if (!IFace) in CodeCompleteObjCClassPropertyRefExpr()
5735 AddObjCProperties(CCContext, IFace, true, in CodeCompleteObjCClassPropertyRefExpr()
7440 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container); in AddObjCMethods() local
7441 IsRootClass = IsRootClass || (IFace && !IFace->getSuperClass()); in AddObjCMethods()
7477 if (!IFace || !IFace->hasDefinition()) in AddObjCMethods()
7481 for (ObjCProtocolDecl *I : IFace->protocols()) in AddObjCMethods()
7486 for (ObjCCategoryDecl *CatDecl : IFace->known_categories()) { in AddObjCMethods()
7509 if (IFace->getSuperClass()) in AddObjCMethods()
7510 AddObjCMethods(IFace->getSuperClass(), WantInstanceMethods, WantKind, in AddObjCMethods()
7515 if (ObjCImplementationDecl *Impl = IFace->getImplementation()) in AddObjCMethods()
7673 ObjCInterfaceDecl *IFace = nullptr; in GetAssumedMessageSendExprType() local
7678 IFace = ObjType->getInterface(); in GetAssumedMessageSendExprType()
7684 IFace = Ptr->getInterfaceDecl(); in GetAssumedMessageSendExprType()
7693 if (!IFace) in GetAssumedMessageSendExprType()
7696 ObjCInterfaceDecl *Super = IFace->getSuperClass(); in GetAssumedMessageSendExprType()
7699 .Case("retain", IFace) in GetAssumedMessageSendExprType()
7700 .Case("strong", IFace) in GetAssumedMessageSendExprType()
7701 .Case("autorelease", IFace) in GetAssumedMessageSendExprType()
7702 .Case("copy", IFace) in GetAssumedMessageSendExprType()
7703 .Case("copyWithZone", IFace) in GetAssumedMessageSendExprType()
7704 .Case("mutableCopy", IFace) in GetAssumedMessageSendExprType()
7705 .Case("mutableCopyWithZone", IFace) in GetAssumedMessageSendExprType()
7706 .Case("awakeFromCoder", IFace) in GetAssumedMessageSendExprType()
7707 .Case("replacementObjectFromCoder", IFace) in GetAssumedMessageSendExprType()
7708 .Case("class", IFace) in GetAssumedMessageSendExprType()
7709 .Case("classForCoder", IFace) in GetAssumedMessageSendExprType()
7714 .Case("new", IFace) in GetAssumedMessageSendExprType()
7715 .Case("alloc", IFace) in GetAssumedMessageSendExprType()
7716 .Case("allocWithZone", IFace) in GetAssumedMessageSendExprType()
7717 .Case("class", IFace) in GetAssumedMessageSendExprType()
8107 if (ObjCInterfaceDecl *IFace = GetAssumedMessageSendExprType(RecExpr)) { in CodeCompleteObjCInstanceMessage() local
8110 S, ParsedType::make(Context.getObjCInterfaceType(IFace)), SelIdents, in CodeCompleteObjCInstanceMessage()
8114 Context.getObjCObjectPointerType(Context.getObjCInterfaceType(IFace)); in CodeCompleteObjCInstanceMessage()
8676 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container)) { in FindImplementableMethods() local
8678 if (!IFace->hasDefinition()) in FindImplementableMethods()
8681 IFace = IFace->getDefinition(); in FindImplementableMethods()
8682 Container = IFace; in FindImplementableMethods()
8685 IFace->getReferencedProtocols(); in FindImplementableMethods()
8693 for (auto *Cat : IFace->visible_categories()) { in FindImplementableMethods()
8699 if (IFace->getSuperClass()) in FindImplementableMethods()
8700 FindImplementableMethods(Context, IFace->getSuperClass(), in FindImplementableMethods()
8896 if (ObjCInterfaceDecl *IFace = ObjCPointer->getInterfaceDecl()) { in AddObjCKeyValueCompletions() local
8899 if (!InheritsFromClassNamed(IFace, "NSMutableArray")) { in AddObjCKeyValueCompletions()
8901 if (!InheritsFromClassNamed(IFace, "NSArray")) in AddObjCKeyValueCompletions()
8905 if (!InheritsFromClassNamed(IFace, "NSMutableSet")) { in AddObjCKeyValueCompletions()
8907 if (!InheritsFromClassNamed(IFace, "NSSet")) in AddObjCKeyValueCompletions()
9550 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(SearchDecl); in CodeCompleteObjCMethodDecl() local
9551 if (!IFace) in CodeCompleteObjCMethodDecl()
9553 IFace = Category->getClassInterface(); in CodeCompleteObjCMethodDecl()
9555 if (IFace) in CodeCompleteObjCMethodDecl()
9556 llvm::append_range(Containers, IFace->visible_categories()); in CodeCompleteObjCMethodDecl()