| /freebsd-14.2/contrib/llvm-project/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-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 486 const ObjCInterfaceDecl *IFace = this; in findInterfaceWithDesignatedInitializers() local 487 while (IFace) { in findInterfaceWithDesignatedInitializers() 488 if (IFace->hasDesignatedInitializers()) in findInterfaceWithDesignatedInitializers() 489 return IFace; in findInterfaceWithDesignatedInitializers() 490 if (!IFace->inheritsDesignatedInitializers()) in findInterfaceWithDesignatedInitializers() 492 IFace = IFace->getSuperClass(); in findInterfaceWithDesignatedInitializers() 558 if (!IFace) in getDesignatedInitializers() 589 if (!IFace) in isDesignatedInitializer() 2232 if (IFace) in setClassInterface() 2233 Ctx.setObjCImplementation(IFace, ImplD); in setClassInterface() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCodeComplete.cpp | 5858 if (!IFace) in CodeCompleteObjCClassPropertyRefExpr() 7582 IsRootClass = IsRootClass || (IFace && !IFace->getSuperClass()); in AddObjCMethods() 7618 if (!IFace || !IFace->hasDefinition()) in AddObjCMethods() 7836 if (!IFace) in GetAssumedMessageSendExprType() 7857 .Case("new", IFace) in GetAssumedMessageSendExprType() 7858 .Case("alloc", IFace) in GetAssumedMessageSendExprType() 7860 .Case("class", IFace) in GetAssumedMessageSendExprType() 8843 IFace = IFace->getDefinition(); in FindImplementableMethods() 8844 Container = IFace; in FindImplementableMethods() 9714 if (!IFace) in CodeCompleteObjCMethodDecl() [all …]
|
| H A D | SemaExprObjC.cpp | 1274 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 | 1596 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr() local 1597 if (!IFace) in LookupMemberExpr() 1601 if ((Getter = IFace->lookupClassMethod(Sel))) { in LookupMemberExpr() 1606 Getter = IFace->lookupPrivateMethod(Sel, false); in LookupMemberExpr() 1613 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel); in LookupMemberExpr() 1617 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() 1835 Sema::IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace, in IvarBacksCurrentMethodAccessor() argument 1839 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(), in IvarBacksCurrentMethodAccessor() 1846 for (const auto *Property : IFace->instance_properties()) { in IvarBacksCurrentMethodAccessor() 1854 for (const auto *Ext : IFace->known_extensions()) in IvarBacksCurrentMethodAccessor()
|
| H A D | SemaLookup.cpp | 4263 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Ctx)) { in lookupInDeclContext() local 4265 for (auto *Cat : IFace->visible_categories()) { in lookupInDeclContext() 4272 for (auto *I : IFace->all_referenced_protocols()) { in lookupInDeclContext() 4279 if (IFace->getSuperClass()) { in lookupInDeclContext() 4281 lookupInDeclContext(IFace->getSuperClass(), Result, QualifiedNameLookup, in lookupInDeclContext() 4287 if (IFace->getImplementation()) { in lookupInDeclContext() 4289 lookupInDeclContext(IFace->getImplementation(), Result, in lookupInDeclContext() 4354 if (ObjCInterfaceDecl *IFace = Method->getClassInterface()) { in lookupInScope() local 4355 lookupInDeclContext(IFace, IvarResult, in lookupInScope()
|
| H A D | SemaPseudoObject.cpp | 662 if (const ObjCInterfaceDecl *IFace = in findSetter() local 671 if (ObjCPropertyDecl *prop1 = IFace->FindPropertyDeclaration( in findSetter()
|
| H A D | SemaType.cpp | 9452 ObjCInterfaceDecl *IFace = dyn_cast_or_null<ObjCInterfaceDecl>(Def); in RequireCompleteTypeImpl() local 9458 if (Tag || IFace) { in RequireCompleteTypeImpl() 9467 if (IFace && IFace->hasExternalLexicalStorage()) in RequireCompleteTypeImpl() 9468 Source->CompleteType(IFace); in RequireCompleteTypeImpl() 9545 if (IFace && !IFace->isInvalidDecl() && !IFace->getLocation().isInvalid()) in RequireCompleteTypeImpl() 9546 Diag(IFace->getLocation(), diag::note_forward_class); in RequireCompleteTypeImpl()
|
| H A D | SemaExpr.cpp | 3056 ObjCInterfaceDecl *IFace = nullptr; in LookupIvarInObjCMethod() local 3058 IFace = CurMethod->getClassInterface(); in LookupIvarInObjCMethod() 3061 if (IFace && (IV = IFace->lookupInstanceVariable(II, ClassDeclared))) { in LookupIvarInObjCMethod() 3070 !declaresSameEntity(ClassDeclared, IFace) && in LookupIvarInObjCMethod() 3083 declaresSameEntity(IFace, ClassDeclared)) in LookupIvarInObjCMethod() 3107 ObjCInterfaceDecl *IFace = CurMethod->getClassInterface(); in BuildIvarRefExpr() local 17667 const ObjCInterfaceDecl *IFace = nullptr; in DiagnoseAssignmentResult() local 17817 IFace = IFaceT->getDecl(); in DiagnoseAssignmentResult() 17828 IFace = IFaceT->getDecl(); in DiagnoseAssignmentResult() 17918 PDecl && IFace && !IFace->hasDefinition()) in DiagnoseAssignmentResult() [all …]
|
| H A D | SemaDeclAttr.cpp | 6338 ObjCInterfaceDecl *IFace; in handleObjCDesignatedInitializer() local 6340 IFace = CatDecl->getClassInterface(); in handleObjCDesignatedInitializer() 6342 IFace = cast<ObjCInterfaceDecl>(Ctx); in handleObjCDesignatedInitializer() 6344 if (!IFace) in handleObjCDesignatedInitializer() 6347 IFace->setHasDesignatedInitializers(); in handleObjCDesignatedInitializer()
|
| H A D | SemaDecl.cpp | 16287 auto IFace = MD->getClassInterface(); in ActOnFinishFunctionBody() local 16288 if (!IFace) in ActOnFinishFunctionBody() 16290 auto SuperD = IFace->getSuperClass(); in ActOnFinishFunctionBody()
|
| H A D | SemaChecking.cpp | 10717 const ObjCInterfaceDecl *IFace; in checkFormatStringExpr() local 10718 if (MD->isInstanceMethod() && (IFace = MD->getClassInterface()) && in checkFormatStringExpr() 10719 IFace->getIdentifier()->isStr("NSBundle") && in checkFormatStringExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 1696 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); in inferDesignatedInitializers() local 1697 if (!IFace || IFace->hasDesignatedInitializers()) in inferDesignatedInitializers() 1707 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(), in inferDesignatedInitializers()
|
| /freebsd-14.2/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 | 749 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) { in HandleTopLevelSingleDecl() local 750 if (!IFace->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl() 752 SourceLocation StartLoc = IFace->getBeginLoc(); in HandleTopLevelSingleDecl() 768 ObjCInterfacesSeen.push_back(IFace); in HandleTopLevelSingleDecl() 4441 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName() local 4442 Name = std::string(IFace->getName()); in BuildUniqueMethodName()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 2485 void setClassInterface(ObjCInterfaceDecl *IFace);
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 4907 bool IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace,
|