| /freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 112 assert(IFace && Receiver); in maybeAdjustInterfaceForSubscriptingCheck() 116 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 121 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 127 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 138 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 144 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 153 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 163 IFace = maybeAdjustInterfaceForSubscriptingCheck(IFace, Rec, Ctx); in canRewriteToSubscriptSyntax() 299 const ObjCInterfaceDecl *IFace = in rewriteToObjCSubscriptSyntax() local 301 if (!IFace) in rewriteToObjCSubscriptSyntax() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 476 const ObjCInterfaceDecl *IFace = this; in findInterfaceWithDesignatedInitializers() local 477 while (IFace) { in findInterfaceWithDesignatedInitializers() 478 if (IFace->hasDesignatedInitializers()) in findInterfaceWithDesignatedInitializers() 479 return IFace; in findInterfaceWithDesignatedInitializers() 480 if (!IFace->inheritsDesignatedInitializers()) in findInterfaceWithDesignatedInitializers() 482 IFace = IFace->getSuperClass(); in findInterfaceWithDesignatedInitializers() 548 if (!IFace) in getDesignatedInitializers() 579 if (!IFace) in isDesignatedInitializer() 2083 if (IFace) in setClassInterface() 2084 Ctx.setObjCImplementation(IFace, ImplD); in setClassInterface() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaCodeComplete.cpp | 4355 if (!IFace) in CodeCompleteObjCClassPropertyRefExpr() 5813 IsRootClass = IsRootClass || (IFace && !IFace->getSuperClass()); in AddObjCMethods() 5849 if (!IFace || !IFace->hasDefinition()) in AddObjCMethods() 6065 if (!IFace) in GetAssumedMessageSendExprType() 6086 .Case("new", IFace) in GetAssumedMessageSendExprType() 6087 .Case("alloc", IFace) in GetAssumedMessageSendExprType() 6089 .Case("class", IFace) in GetAssumedMessageSendExprType() 7052 IFace = IFace->getDefinition(); in FindImplementableMethods() 7053 Container = IFace; in FindImplementableMethods() 7918 if (!IFace) in CodeCompleteObjCMethodDecl() [all …]
|
| H A D | SemaExprObjC.cpp | 1805 ObjCInterfaceDecl *IFace = IFaceT->getDecl(); in HandleExprPropertyRefExpr() local 1868 Getter = IFace->lookupPrivateMethod(Sel); in HandleExprPropertyRefExpr() 1889 Setter = IFace->lookupPrivateMethod(SetterSel); in HandleExprPropertyRefExpr() 1899 !IFace->FindPropertyDeclaration( in HandleExprPropertyRefExpr() 1991 if (!IFace) { in ActOnClassPropertyRefExpr() 2022 if (!IFace) { in ActOnClassPropertyRefExpr() 2031 if (auto PD = IFace->FindPropertyDeclaration( in ActOnClassPropertyRefExpr() 2046 Getter = IFace->lookupPrivateClassMethod(GetterSel); in ActOnClassPropertyRefExpr() 2060 Setter = IFace->lookupPrivateClassMethod(SetterSel); in ActOnClassPropertyRefExpr() 2064 Setter = IFace->getCategoryClassMethod(SetterSel); in ActOnClassPropertyRefExpr() [all …]
|
| H A D | SemaExprMember.cpp | 1532 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr() local 1533 if (!IFace) in LookupMemberExpr() 1537 if ((Getter = IFace->lookupClassMethod(Sel))) { in LookupMemberExpr() 1542 Getter = IFace->lookupPrivateMethod(Sel, false); in LookupMemberExpr() 1549 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel); in LookupMemberExpr() 1553 Setter = IFace->lookupPrivateMethod(SetterSel, false); in LookupMemberExpr()
|
| H A D | SemaObjCProperty.cpp | 234 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in ActOnProperty() local 237 ObjCInterfaceDecl *CurrentInterfaceDecl = IFace; in ActOnProperty() 260 for (auto *P : IFace->all_referenced_protocols()) { in ActOnProperty() 1783 Sema::IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace, in IvarBacksCurrentMethodAccessor() argument 1787 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(), in IvarBacksCurrentMethodAccessor() 1794 for (const auto *Property : IFace->instance_properties()) { in IvarBacksCurrentMethodAccessor() 1802 for (const auto *Ext : IFace->known_extensions()) in IvarBacksCurrentMethodAccessor()
|
| H A D | SemaLookup.cpp | 3620 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Ctx)) { in LookupVisibleDecls() local 3622 for (auto *Cat : IFace->visible_categories()) { in LookupVisibleDecls() 3629 for (auto *I : IFace->all_referenced_protocols()) { in LookupVisibleDecls() 3636 if (IFace->getSuperClass()) { in LookupVisibleDecls() 3638 LookupVisibleDecls(IFace->getSuperClass(), Result, QualifiedNameLookup, in LookupVisibleDecls() 3645 if (IFace->getImplementation()) { in LookupVisibleDecls() 3647 LookupVisibleDecls(IFace->getImplementation(), Result, in LookupVisibleDecls() 3715 if (ObjCInterfaceDecl *IFace = Method->getClassInterface()) { in LookupVisibleDecls() local 3716 LookupVisibleDecls(IFace, IvarResult, /*QualifiedNameLookup=*/false, in LookupVisibleDecls()
|
| H A D | SemaPseudoObject.cpp | 667 if (const ObjCInterfaceDecl *IFace = in findSetter() local 676 if (ObjCPropertyDecl *prop1 = IFace->FindPropertyDeclaration( in findSetter()
|
| H A D | SemaType.cpp | 7815 ObjCInterfaceDecl *IFace = dyn_cast_or_null<ObjCInterfaceDecl>(Def); in RequireCompleteTypeImpl() local 7821 if (Tag || IFace) { in RequireCompleteTypeImpl() 7830 if (IFace && IFace->hasExternalLexicalStorage()) in RequireCompleteTypeImpl() 7831 Source->CompleteType(IFace); in RequireCompleteTypeImpl() 7904 if (IFace && !IFace->isInvalidDecl()) in RequireCompleteTypeImpl() 7905 Diag(IFace->getLocation(), diag::note_forward_class); in RequireCompleteTypeImpl()
|
| H A D | SemaExpr.cpp | 2428 ObjCInterfaceDecl *IFace = nullptr; in LookupInObjCMethod() local 2430 IFace = CurMethod->getClassInterface(); in LookupInObjCMethod() 2433 if (IFace && (IV = IFace->lookupInstanceVariable(II, ClassDeclared))) { in LookupInObjCMethod() 2450 !declaresSameEntity(ClassDeclared, IFace) && in LookupInObjCMethod() 2475 !IvarBacksCurrentMethodAccessor(IFace, CurMethod, IV)) in LookupInObjCMethod() 2501 declaresSameEntity(IFace, ClassDeclared)) in LookupInObjCMethod() 14006 const ObjCInterfaceDecl *IFace = nullptr; in DiagnoseAssignmentResult() local 14102 IFace = IFaceT->getDecl(); in DiagnoseAssignmentResult() 14113 IFace = IFaceT->getDecl(); in DiagnoseAssignmentResult() 14181 PDecl && IFace && !IFace->hasDefinition()) in DiagnoseAssignmentResult() [all …]
|
| H A D | SemaDeclAttr.cpp | 5130 ObjCInterfaceDecl *IFace; in handleObjCDesignatedInitializer() local 5132 IFace = CatDecl->getClassInterface(); in handleObjCDesignatedInitializer() 5134 IFace = cast<ObjCInterfaceDecl>(Ctx); in handleObjCDesignatedInitializer() 5136 if (!IFace) in handleObjCDesignatedInitializer() 5139 IFace->setHasDesignatedInitializers(); in handleObjCDesignatedInitializer()
|
| H A D | SemaDecl.cpp | 13280 auto IFace = MD->getClassInterface(); in ActOnFinishFunctionBody() local 13281 if (!IFace) in ActOnFinishFunctionBody() 13283 auto SuperD = IFace->getSuperClass(); in ActOnFinishFunctionBody()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 1705 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); in inferDesignatedInitializers() local 1706 if (!IFace || IFace->hasDesignatedInitializers()) in inferDesignatedInitializers() 1716 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(), in inferDesignatedInitializers()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 680 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) { in HandleTopLevelSingleDecl() local 681 if (!IFace->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl() 683 SourceLocation StartLoc = IFace->getBeginLoc(); in HandleTopLevelSingleDecl() 3627 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName() local 3628 Name = IFace->getName(); in BuildUniqueMethodName()
|
| H A D | RewriteModernObjC.cpp | 748 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) { in HandleTopLevelSingleDecl() local 749 if (!IFace->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl() 751 SourceLocation StartLoc = IFace->getBeginLoc(); in HandleTopLevelSingleDecl() 767 ObjCInterfacesSeen.push_back(IFace); in HandleTopLevelSingleDecl() 4444 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName() local 4445 Name = IFace->getName(); in BuildUniqueMethodName()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 2442 void setClassInterface(ObjCInterfaceDecl *IFace);
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 3471 bool IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace,
|