| /freebsd-13.1/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 111 assert(IFace && Receiver); in maybeAdjustInterfaceForSubscriptingCheck() 115 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 120 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 126 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 137 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 143 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 152 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 162 IFace = maybeAdjustInterfaceForSubscriptingCheck(IFace, Rec, Ctx); in canRewriteToSubscriptSyntax() 298 const ObjCInterfaceDecl *IFace = in rewriteToObjCSubscriptSyntax() local 300 if (!IFace) in rewriteToObjCSubscriptSyntax() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 477 const ObjCInterfaceDecl *IFace = this; in findInterfaceWithDesignatedInitializers() local 478 while (IFace) { in findInterfaceWithDesignatedInitializers() 479 if (IFace->hasDesignatedInitializers()) in findInterfaceWithDesignatedInitializers() 480 return IFace; in findInterfaceWithDesignatedInitializers() 481 if (!IFace->inheritsDesignatedInitializers()) in findInterfaceWithDesignatedInitializers() 483 IFace = IFace->getSuperClass(); in findInterfaceWithDesignatedInitializers() 549 if (!IFace) in getDesignatedInitializers() 580 if (!IFace) in isDesignatedInitializer() 2139 if (IFace) in setClassInterface() 2140 Ctx.setObjCImplementation(IFace, ImplD); in setClassInterface() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCodeComplete.cpp | 5448 if (!IFace) in CodeCompleteObjCClassPropertyRefExpr() 6954 IsRootClass = IsRootClass || (IFace && !IFace->getSuperClass()); in AddObjCMethods() 6990 if (!IFace || !IFace->hasDefinition()) in AddObjCMethods() 7206 if (!IFace) in GetAssumedMessageSendExprType() 7227 .Case("new", IFace) in GetAssumedMessageSendExprType() 7228 .Case("alloc", IFace) in GetAssumedMessageSendExprType() 7230 .Case("class", IFace) in GetAssumedMessageSendExprType() 8194 IFace = IFace->getDefinition(); in FindImplementableMethods() 8195 Container = IFace; in FindImplementableMethods() 9064 if (!IFace) in CodeCompleteObjCMethodDecl() [all …]
|
| H A D | SemaExprObjC.cpp | 1276 ObjCInterfaceDecl *IFace = CurMD->getClassInterface(); in findMethodInCurrentClass() local 1983 ObjCInterfaceDecl *IFace = IFaceT->getDecl(); in HandleExprPropertyRefExpr() local 2046 Getter = IFace->lookupPrivateMethod(Sel); in HandleExprPropertyRefExpr() 2067 Setter = IFace->lookupPrivateMethod(SetterSel); in HandleExprPropertyRefExpr() 2077 !IFace->FindPropertyDeclaration( in HandleExprPropertyRefExpr() 2169 if (!IFace) { in ActOnClassPropertyRefExpr() 2200 if (!IFace) { in ActOnClassPropertyRefExpr() 2209 if (auto PD = IFace->FindPropertyDeclaration( in ActOnClassPropertyRefExpr() 2224 Getter = IFace->lookupPrivateClassMethod(GetterSel); in ActOnClassPropertyRefExpr() 2242 Setter = IFace->getCategoryClassMethod(SetterSel); in ActOnClassPropertyRefExpr() [all …]
|
| H A D | SemaExprMember.cpp | 1547 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr() local 1548 if (!IFace) in LookupMemberExpr() 1552 if ((Getter = IFace->lookupClassMethod(Sel))) { in LookupMemberExpr() 1557 Getter = IFace->lookupPrivateMethod(Sel, false); in LookupMemberExpr() 1564 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel); in LookupMemberExpr() 1568 Setter = IFace->lookupPrivateMethod(SetterSel, false); in LookupMemberExpr()
|
| H A D | SemaObjCProperty.cpp | 229 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in ActOnProperty() local 232 ObjCInterfaceDecl *CurrentInterfaceDecl = IFace; in ActOnProperty() 250 for (auto *P : IFace->all_referenced_protocols()) { in ActOnProperty() 1837 Sema::IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace, in IvarBacksCurrentMethodAccessor() argument 1841 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(), in IvarBacksCurrentMethodAccessor() 1848 for (const auto *Property : IFace->instance_properties()) { in IvarBacksCurrentMethodAccessor() 1856 for (const auto *Ext : IFace->known_extensions()) in IvarBacksCurrentMethodAccessor()
|
| H A D | SemaLookup.cpp | 3932 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Ctx)) { in lookupInDeclContext() local 3934 for (auto *Cat : IFace->visible_categories()) { in lookupInDeclContext() 3941 for (auto *I : IFace->all_referenced_protocols()) { in lookupInDeclContext() 3948 if (IFace->getSuperClass()) { in lookupInDeclContext() 3950 lookupInDeclContext(IFace->getSuperClass(), Result, QualifiedNameLookup, in lookupInDeclContext() 3956 if (IFace->getImplementation()) { in lookupInDeclContext() 3958 lookupInDeclContext(IFace->getImplementation(), Result, in lookupInDeclContext() 4023 if (ObjCInterfaceDecl *IFace = Method->getClassInterface()) { in lookupInScope() local 4024 lookupInDeclContext(IFace, IvarResult, in lookupInScope()
|
| H A D | SemaType.cpp | 8633 ObjCInterfaceDecl *IFace = dyn_cast_or_null<ObjCInterfaceDecl>(Def); in RequireCompleteTypeImpl() local 8639 if (Tag || IFace) { in RequireCompleteTypeImpl() 8648 if (IFace && IFace->hasExternalLexicalStorage()) in RequireCompleteTypeImpl() 8649 Source->CompleteType(IFace); in RequireCompleteTypeImpl() 8726 if (IFace && !IFace->isInvalidDecl() && !IFace->getLocation().isInvalid()) in RequireCompleteTypeImpl() 8727 Diag(IFace->getLocation(), diag::note_forward_class); in RequireCompleteTypeImpl()
|
| H A D | SemaPseudoObject.cpp | 657 if (const ObjCInterfaceDecl *IFace = in findSetter() local 666 if (ObjCPropertyDecl *prop1 = IFace->FindPropertyDeclaration( in findSetter()
|
| H A D | SemaExpr.cpp | 2794 ObjCInterfaceDecl *IFace = nullptr; in LookupIvarInObjCMethod() local 2796 IFace = CurMethod->getClassInterface(); in LookupIvarInObjCMethod() 2799 if (IFace && (IV = IFace->lookupInstanceVariable(II, ClassDeclared))) { in LookupIvarInObjCMethod() 2808 !declaresSameEntity(ClassDeclared, IFace) && in LookupIvarInObjCMethod() 2821 declaresSameEntity(IFace, ClassDeclared)) in LookupIvarInObjCMethod() 2845 ObjCInterfaceDecl *IFace = CurMethod->getClassInterface(); in BuildIvarRefExpr() local 16018 const ObjCInterfaceDecl *IFace = nullptr; in DiagnoseAssignmentResult() local 16162 IFace = IFaceT->getDecl(); in DiagnoseAssignmentResult() 16173 IFace = IFaceT->getDecl(); in DiagnoseAssignmentResult() 16261 PDecl && IFace && !IFace->hasDefinition()) in DiagnoseAssignmentResult() [all …]
|
| H A D | SemaDeclAttr.cpp | 5689 ObjCInterfaceDecl *IFace; in handleObjCDesignatedInitializer() local 5691 IFace = CatDecl->getClassInterface(); in handleObjCDesignatedInitializer() 5693 IFace = cast<ObjCInterfaceDecl>(Ctx); in handleObjCDesignatedInitializer() 5695 if (!IFace) in handleObjCDesignatedInitializer() 5698 IFace->setHasDesignatedInitializers(); in handleObjCDesignatedInitializer()
|
| H A D | SemaChecking.cpp | 7750 const ObjCInterfaceDecl *IFace; in checkFormatStringExpr() local 7751 if (MD->isInstanceMethod() && (IFace = MD->getClassInterface()) && in checkFormatStringExpr() 7752 IFace->getIdentifier()->isStr("NSBundle") && in checkFormatStringExpr()
|
| H A D | SemaDecl.cpp | 14702 auto IFace = MD->getClassInterface(); in ActOnFinishFunctionBody() local 14703 if (!IFace) in ActOnFinishFunctionBody() 14705 auto SuperD = IFace->getSuperClass(); in ActOnFinishFunctionBody()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 1703 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); in inferDesignatedInitializers() local 1704 if (!IFace || IFace->hasDesignatedInitializers()) in inferDesignatedInitializers() 1714 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(), in inferDesignatedInitializers()
|
| /freebsd-13.1/contrib/llvm-project/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() 3628 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName() local 3629 Name = std::string(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() 4441 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName() local 4442 Name = std::string(IFace->getName()); in BuildUniqueMethodName()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 2426 void setClassInterface(ObjCInterfaceDecl *IFace);
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 4397 bool IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace,
|