| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckObjCInstMethSignature.cpp | 53 << *MethDerived->getClassInterface() in CompareReturnTypes() 55 << *MethAncestor->getClassInterface() in CompareReturnTypes() 61 << *MethAncestor->getClassInterface() << "' and has a return type of '" in CompareReturnTypes() 80 const ObjCInterfaceDecl *D = ID->getClassInterface(); in CheckObjCInstMethSignature()
|
| H A D | ObjCUnusedIVarsChecker.cpp | 88 for (const auto *Cat : ID->getClassInterface()->visible_categories()) { in Scan() 109 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkObjCUnusedIvar()
|
| H A D | ObjCPropertyChecker.cpp | 61 ImplD = CatD->getClassInterface()->getImplementation(); in checkCopyMutable()
|
| H A D | ObjCMissingSuperCallChecker.cpp | 90 const ObjCInterfaceDecl *ID = D->getClassInterface()->getSuperClass(); in isCheckableClass()
|
| H A D | DirectIvarAssignment.cpp | 119 const ObjCInterfaceDecl *InterD = D->getClassInterface(); in checkASTDecl()
|
| H A D | CheckObjCDealloc.cpp | 202 const ObjCInterfaceDecl *ID = D->getClassInterface(); in REGISTER_SET_FACTORY_WITH_PROGRAMSTATE() 533 cast<ObjCMethodDecl>(LCtx->getDecl())->getClassInterface()) in diagnoseMissingReleases() 810 DeclContext::lookup_result R = CatDecl->getClassInterface()->lookup(ID); in findShadowedPropertyDecl()
|
| H A D | ObjCSelfInitChecker.cpp | 397 ObjCInterfaceDecl *ID = MD->getClassInterface()->getSuperClass(); in shouldRunOnFunctionOrMethod()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 896 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface() 1211 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface() function in ObjCMethodDecl 1215 return CD->getClassInterface(); in getClassInterface() 1217 return IMD->getClassInterface(); in getClassInterface() 1329 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow() 1342 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow() 1389 Container = ImplDecl->getClassInterface(); in findPropertyDecl() 1424 ClassDecl = Category->getClassInterface(); in findPropertyDecl() 1864 ID = IM->getClassInterface(); in Create() 1894 return CD->getClassInterface(); in getContainingInterface() [all …]
|
| H A D | Mangle.cpp | 339 << MD->getClassInterface()->getName() << '_'; in mangleObjCMethodName() 371 OS << CID->getClassInterface()->getName(); in mangleObjCMethodName()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 85 receiverClass = method->getClassInterface(); in checkInitMethod() 153 CurrentClass = Cat->getClassInterface(); in CheckObjCMethodOverride() 155 CurrentClass = Impl->getClassInterface(); in CheckObjCMethodOverride() 158 CurrentClass = CatImpl->getClassInterface(); in CheckObjCMethodOverride() 307 if (!CD->getClassInterface()->isDeprecated()) in DiagnoseObjCImplementedDeprecations() 309 ND = CD->getClassInterface(); in DiagnoseObjCImplementedDeprecations() 3312 MethodInList->getClassInterface(); in isMethodContextSameForKindofLookup() 3854 IntfDecl = ImplDecl->getClassInterface(); in DiagnoseVariableSizedIvars() 4911 if (IDecl == IMD->getClassInterface()) { in ActOnMethodDeclaration() 5005 CurrentClass = Cat->getClassInterface(); in ActOnMethodDeclaration() [all …]
|
| H A D | SemaObjCProperty.cpp | 423 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension() 1030 auto OrigClass = Category->getClassInterface(); in hasWrittenStorageAttribute() 1104 IDecl = IC->getClassInterface(); in ActOnPropertyImplDecl() 1178 IDecl = CatImplClass->getClassInterface(); in ActOnPropertyImplDecl() 1987 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties() 2045 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties() 2106 if ((PrimaryClass = C->getClassInterface())) in DiagnoseUnimplementedProperties() 2392 CatDecl->getClassInterface()-> in ProcessPropertyDecl() 2403 CatDecl->getClassInterface()-> in ProcessPropertyDecl() 2621 CurrentClass = Cat->getClassInterface(); in ProcessPropertyDecl() [all …]
|
| H A D | SemaAvailability.cpp | 153 if (MD->getClassInterface() == Impl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 176 if (const ObjCInterfaceDecl *Interface = CatOrImpl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 182 if (const ObjCInterfaceDecl *Interface = CatD->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 226 return Imp->getClassInterface(); in findEnclosingDeclToAnnotate()
|
| H A D | SemaExprObjC.cpp | 1274 ObjCInterfaceDecl *IFace = CurMD->getClassInterface(); in findMethodInCurrentClass() 1547 Context.getObjCInterfaceType(MD->getClassInterface())); in getMessageSendResultType() 1637 iface = impl->getClassInterface(); in findExplicitInstancetypeDeclarer() 2174 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr() 2180 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr() 2195 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr() 2268 if (Method && Method->getClassInterface()) in ObjCInterfaceOrSuperCCC() 2308 if (!Method->getClassInterface()) { in getObjCMessageKind() 2396 ObjCInterfaceDecl *Class = Method->getClassInterface(); in ActOnSuperMessage() 3159 RecRange, Method->getClassInterface()->getName())); in BuildInstanceMessage() [all …]
|
| H A D | SemaExprMember.cpp | 1415 D = Category->getClassInterface(); in LookupMemberExpr() 1418 ClassDeclared = Implementation->getClassInterface(); in LookupMemberExpr() 1455 ClassOfMethodDecl = MD->getClassInterface(); in LookupMemberExpr() 1465 ClassOfMethodDecl = IMPD->getClassInterface(); in LookupMemberExpr() 1468 ClassOfMethodDecl = CatImplClass->getClassInterface(); in LookupMemberExpr() 1596 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexSymbol.cpp | 41 return isUnitTestCase(D->getClassInterface()); in isUnitTest() 196 ClsD = cast<ObjCImplementationDecl>(D)->getClassInterface(); in getSymbolInfo() 211 ClsD = CatD->getClassInterface(); in getSymbolInfo() 213 ClsD = cast<ObjCCategoryImplDecl>(D)->getClassInterface(); in getSymbolInfo()
|
| H A D | IndexDecl.cpp | 452 const ObjCInterfaceDecl *Class = D->getClassInterface(); in VisitObjCImplementationDecl() 480 const ObjCInterfaceDecl *C = D->getClassInterface(); in VisitObjCCategoryDecl() 501 const ObjCInterfaceDecl *C = D->getClassInterface(); in VisitObjCCategoryImplDecl()
|
| H A D | USRGeneration.cpp | 413 const ObjCInterfaceDecl *ID = D->getClassInterface(); in VisitObjCMethodDecl() 440 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl() 464 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 315 ObjCInterfaceDecl *getClassInterface(); 316 const ObjCInterfaceDecl *getClassInterface() const { in getClassInterface() function 317 return const_cast<ObjCMethodDecl*>(this)->getClassInterface(); in getClassInterface() 2368 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function 2369 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function 2483 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function 2484 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function 2710 return getClassInterface()->getIdentifier(); in getIdentifier() 2790 const ObjCInterfaceDecl *getClassInterface() const { return AliasedClass; } in getClassInterface() function 2791 ObjCInterfaceDecl *getClassInterface() { return AliasedClass; } in getClassInterface() function
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 766 PrimaryInterface = CategoryDecl->getClassInterface(); in findBackingIvar() 768 PrimaryInterface = ImplDecl->getClassInterface(); in findBackingIvar() 795 const ObjCInterfaceDecl *IntD = MD->getClassInterface(); in createObjCPropertyGetter() 896 const ObjCInterfaceDecl *OID = D->getClassInterface(); in getBody()
|
| H A D | AnalysisDeclContext.cpp | 378 OS << OC->getClassInterface()->getName(); in getFunctionName() 384 OS << OCD->getClassInterface()->getName() << '(' << OCD->getName() << ')'; in getFunctionName()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 121 if (!D->getClassInterface()) in VisitObjCMethodDecl() 126 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl()
|
| H A D | CGObjCMac.cpp | 3470 ID->getClassInterface()->all_declared_ivar_begin(); in hasMRCWeakIvars() 3506 const_cast<ObjCInterfaceDecl*>(ID->getClassInterface()); in GenerateClass() 3611 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in EmitMetaClass() 3768 const ObjCInterfaceDecl *OID = ID->getClassInterface(); in EmitIvarList() 5538 const ObjCInterfaceDecl *OI = OMD->getClassInterface(); in BuildIvarLayout() 6337 const ObjCInterfaceDecl *OID = ID->getClassInterface(); in BuildClassRoTInitializer() 6349 ID, ID->getClassInterface(), ObjCTypes, true)); in BuildClassRoTInitializer() 6355 ID, ID->getClassInterface(), ObjCTypes, false)); in BuildClassRoTInitializer() 6481 const auto *CI = ID->getClassInterface(); in GenerateClass() 6507 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in GenerateClass() [all …]
|
| H A D | CGObjC.cpp | 82 const ObjCInterfaceDecl *ClassDecl = BoxingMethod->getClassInterface(); in EmitObjCBoxedExpr() 690 OMD->getClassInterface(), in EmitObjCMessageExpr() 727 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in Emit() 808 StartObjCMethod(OMD, OMD->getClassInterface()); in GenerateObjCMethod() 1051 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCGetter() 1225 EmitIvarOffsetAsPointerDiff(classImpl->getClassInterface(), ivar); in generateObjCGetterBody() 1524 EmitIvarOffsetAsPointerDiff(classImpl->getClassInterface(), ivar); in generateObjCSetterBody() 1630 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCSetter() 1674 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in emitCXXDestructMethod() 1707 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod() [all …]
|
| H A D | CGObjCGNU.cpp | 1722 const_cast<ObjCInterfaceDecl *>(OID->getClassInterface()); in GenerateClass() 1786 OID->getClassInterface()->getSuperClass(); in GenerateClass() 1881 CGM.setGVProperties(OffsetVar, OID->getClassInterface()); in GenerateClass() 1965 if (OID->getClassInterface()->hasAttr<DLLExportAttr>()) { in GenerateClass() 2895 imp = GenerateMethod(Method, Method->getClassInterface()); in GenerateMessageSend() 3458 const ObjCInterfaceDecl *Class = OCD->getClassInterface(); in GenerateCategory() 3596 const_cast<ObjCInterfaceDecl *>(OAD->getClassInterface()); in RegisterAlias() 3606 OID->getClassInterface()->getSuperClass(); in GenerateClass() 3615 const_cast<ObjCInterfaceDecl *>(OID->getClassInterface()); in GenerateClass() 3791 OID->getClassInterface()); in GenerateClass() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 173 return canModify(Impl->getClassInterface()); in canModify() 830 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface(); in migrateProtocolConformance() 977 ObjCInterfaceDecl *IDecl = OM->getClassInterface(); in ReplaceWithClasstype() 1031 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType() 1033 IDecl = ImpDecl->getClassInterface(); in migrateMethodInstanceType() 1302 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod() 1304 IDecl = ImpDecl->getClassInterface(); in migrateFactoryMethod() 1696 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); in inferDesignatedInitializers()
|