| /freebsd/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 | 87 for (const auto *Cat : ID->getClassInterface()->visible_categories()) { in Scan() 108 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkObjCUnusedIvar()
|
| H A D | ObjCMissingSuperCallChecker.cpp | 89 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/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 893 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface() 982 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclarationImpl() 1014 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) { in getCanonicalDecl() 1208 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface() function in ObjCMethodDecl 1212 return CD->getClassInterface(); in getClassInterface() 1214 return IMD->getClassInterface(); in getClassInterface() 1326 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow() 1339 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow() 1386 Container = ImplDecl->getClassInterface(); in findPropertyDecl() 1421 ClassDecl = Category->getClassInterface(); in findPropertyDecl() [all …]
|
| H A D | Mangle.cpp | 355 << MD->getClassInterface()->getName() << '_'; in mangleObjCMethodName() 385 if (const auto *CI = CID->getClassInterface()) { in mangleObjCMethodName()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 88 receiverClass = method->getClassInterface(); in checkInitMethod() 158 CurrentClass = Cat->getClassInterface(); in CheckObjCMethodOverride() 160 CurrentClass = Impl->getClassInterface(); in CheckObjCMethodOverride() 163 CurrentClass = CatImpl->getClassInterface(); in CheckObjCMethodOverride() 313 if (!CD->getClassInterface()->isDeprecated()) in DiagnoseObjCImplementedDeprecations() 315 ND = CD->getClassInterface(); in DiagnoseObjCImplementedDeprecations() 396 MDecl->createImplicitParams(Context, MDecl->getClassInterface()); in ActOnStartOfObjCMethodDef() 444 if (ObjCInterfaceDecl *IC = MDecl->getClassInterface()) { in ActOnStartOfObjCMethodDef() 458 if (ObjCInterfaceDecl *OID = CD->getClassInterface()) in ActOnStartOfObjCMethodDef() 2140 getASTContext().ResetObjCLayout(ImplD->getClassInterface()); in ActOnFinishObjCImplementation() [all …]
|
| H A D | SemaObjCProperty.cpp | 395 OldContextName = Category->getClassInterface()->getIdentifier(); in checkAtomicPropertyMismatch() 415 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension() 1016 auto OrigClass = Category->getClassInterface(); in hasWrittenStorageAttribute() 1087 IDecl = IC->getClassInterface(); in ActOnPropertyImplDecl() 1161 IDecl = CatImplClass->getClassInterface(); in ActOnPropertyImplDecl() 1578 declaresSameEntity(IC->getClassInterface(), ClassDeclared)) { in ActOnPropertyImplDecl() 1980 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties() 2038 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties() 2098 if ((PrimaryClass = C->getClassInterface())) in DiagnoseUnimplementedProperties() 2382 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl() [all …]
|
| H A D | SemaAPINotes.cpp | 672 if (ObjCInterfaceDecl *IFace = D->getClassInterface()) in ProcessAPINotes() 1092 ObjCContainer = Cat->getClassInterface(); in ProcessAPINotes() 1098 if (Category->getClassInterface()) in ProcessAPINotes() 1099 ObjCContainer = Category->getClassInterface(); in ProcessAPINotes() 1105 if (Impl->getClassInterface()) in ProcessAPINotes() 1106 ObjCContainer = Impl->getClassInterface(); in ProcessAPINotes()
|
| H A D | SemaAvailability.cpp | 220 if (MD->getClassInterface() == Impl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 243 if (const ObjCInterfaceDecl *Interface = CatOrImpl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 249 if (const ObjCInterfaceDecl *Interface = CatD->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 307 return Imp->getClassInterface(); in findEnclosingDeclToAnnotate()
|
| H A D | SemaExprObjC.cpp | 1279 ObjCInterfaceDecl *IFace = CurMD->getClassInterface(); in findMethodInCurrentClass() 1498 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) { in getBaseMessageSendResultType() 1549 Context.getObjCInterfaceType(MD->getClassInterface())); in getMessageSendResultType() 1636 iface = impl->getClassInterface(); in findExplicitInstancetypeDeclarer() 2173 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr() 2179 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr() 2194 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr() 2268 if (Method && Method->getClassInterface()) in ObjCInterfaceOrSuperCCC() 2269 WantObjCSuper = Method->getClassInterface()->getSuperClass(); in ObjCInterfaceOrSuperCCC() 2307 if (!Method->getClassInterface()) { in getObjCMessageKind() [all …]
|
| H A D | SemaExprMember.cpp | 1364 D = Category->getClassInterface(); in LookupMemberExpr() 1367 ClassDeclared = Implementation->getClassInterface(); in LookupMemberExpr() 1404 ClassOfMethodDecl = MD->getClassInterface(); in LookupMemberExpr() 1414 ClassOfMethodDecl = IMPD->getClassInterface(); in LookupMemberExpr() 1417 ClassOfMethodDecl = CatImplClass->getClassInterface(); in LookupMemberExpr() 1544 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr()
|
| /freebsd/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 | 419 const ObjCInterfaceDecl *ID = D->getClassInterface(); in VisitObjCMethodDecl() 446 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl() 470 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
|
| /freebsd/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() 2369 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function 2370 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/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 | 376 OS << OC->getClassInterface()->getName(); in getFunctionName() 382 OS << OCD->getClassInterface()->getName() << '(' << OCD->getName() << ')'; in getFunctionName()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerWriter.cpp | 122 if (!D->getClassInterface()) in VisitObjCMethodDecl() 127 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl()
|
| H A D | CGObjCMac.cpp | 1521 if (const ObjCInterfaceDecl *ID = MD->getClassInterface()) in IsIvarOffsetKnownIdempotent() 2083 Fn = GenerateDirectMethod(Method, Method->getClassInterface()); in EmitMessageSend() 3243 const ObjCInterfaceDecl *Interface = OCD->getClassInterface(); in GenerateCategory() 3376 ID->getClassInterface()->all_declared_ivar_begin(); in hasMRCWeakIvars() 3412 const_cast<ObjCInterfaceDecl *>(ID->getClassInterface()); in GenerateClass() 3429 .getASTObjCInterfaceLayout(ID->getClassInterface()) in GenerateClass() 3433 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in GenerateClass() 3509 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in EmitMetaClass() 3515 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in EmitMetaClass() 3522 if (ObjCInterfaceDecl *Super = ID->getClassInterface()->getSuperClass()) { in EmitMetaClass() [all …]
|
| H A D | CGObjCGNU.cpp | 1727 const_cast<ObjCInterfaceDecl *>(OID->getClassInterface()); in GenerateClass() 1791 OID->getClassInterface()->getSuperClass(); in GenerateClass() 1829 LongTy, 0 - (Context.getASTObjCInterfaceLayout(OID->getClassInterface()) in GenerateClass() 1888 CGM.setGVProperties(OffsetVar, OID->getClassInterface()); in GenerateClass() 1973 if (OID->getClassInterface()->hasAttr<DLLExportAttr>()) { in GenerateClass() 2991 imp = GenerateMethod(Method, Method->getClassInterface()); in GenerateMessageSend() 3549 const ObjCInterfaceDecl *Class = OCD->getClassInterface(); in GenerateCategory() 3687 const_cast<ObjCInterfaceDecl *>(OAD->getClassInterface()); in RegisterAlias() 3697 OID->getClassInterface()->getSuperClass(); in GenerateClass() 3706 const_cast<ObjCInterfaceDecl *>(OID->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() 1055 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCGetter() 1246 EmitIvarOffsetAsPointerDiff(classImpl->getClassInterface(), ivar); in generateObjCGetterBody() 1572 EmitIvarOffsetAsPointerDiff(classImpl->getClassInterface(), ivar); in generateObjCSetterBody() 1678 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCSetter() 1722 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in emitCXXDestructMethod() 1755 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 862 CDecl = CatDecl->getClassInterface(); in getIvarAccessString() 1353 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl() 1366 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl() 2638 ObjCInterfaceDecl *BoxingClass = BoxingMethod->getClassInterface(); in RewriteObjCBoxedExpr() 3239 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr() 3333 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr() 4003 ObjCInterfaceDecl *CDecl = OIMP->getClassInterface(); in RewriteImplementations() 4012 ObjCInterfaceDecl *CDecl = CIMP->getClassInterface(); in RewriteImplementations() 4423 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName() 6966 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface(); in RewriteObjCClassMetaData() [all …]
|