| /openbsd-src/gnu/llvm/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 | 89 for (const auto *Cat : ID->getClassInterface()->visible_categories()) { in Scan() 110 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 | 197 const ObjCInterfaceDecl *ID = D->getClassInterface(); in REGISTER_SET_FACTORY_WITH_PROGRAMSTATE() 526 cast<ObjCMethodDecl>(LCtx->getDecl())->getClassInterface()) in diagnoseMissingReleases() 820 DeclContext::lookup_result R = CatDecl->getClassInterface()->lookup(ID); in findShadowedPropertyDecl()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 896 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface() 985 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclarationImpl() 1017 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) { in getCanonicalDecl() 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() [all …]
|
| H A D | Mangle.cpp | 335 << MD->getClassInterface()->getName() << '_'; in mangleObjCMethodName() 367 OS << CID->getClassInterface()->getName(); in mangleObjCMethodName()
|
| /openbsd-src/gnu/llvm/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() 388 MDecl->createImplicitParams(Context, MDecl->getClassInterface()); in ActOnStartOfObjCMethodDef() 437 if (ObjCInterfaceDecl *IC = MDecl->getClassInterface()) { in ActOnStartOfObjCMethodDef() 451 if (ObjCInterfaceDecl *OID = CD->getClassInterface()) in ActOnStartOfObjCMethodDef() 2138 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); in CheckImplementationIvars() [all …]
|
| H A D | SemaObjCProperty.cpp | 394 OldContextName = Category->getClassInterface()->getIdentifier(); in checkAtomicPropertyMismatch() 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() 1590 declaresSameEntity(IC->getClassInterface(), ClassDeclared)) { in ActOnPropertyImplDecl() 1988 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties() 2046 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties() 2107 if ((PrimaryClass = C->getClassInterface())) in DiagnoseUnimplementedProperties() 2391 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl() [all …]
|
| H A D | SemaAvailability.cpp | 141 if (MD->getClassInterface() == Impl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 164 if (const ObjCInterfaceDecl *Interface = CatOrImpl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 170 if (const ObjCInterfaceDecl *Interface = CatD->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 214 return Imp->getClassInterface(); in findEnclosingDeclToAnnotate()
|
| H A D | SemaExprObjC.cpp | 1274 ObjCInterfaceDecl *IFace = CurMD->getClassInterface(); in findMethodInCurrentClass() 1494 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) { in getBaseMessageSendResultType() 1546 Context.getObjCInterfaceType(MD->getClassInterface())); in getMessageSendResultType() 1636 iface = impl->getClassInterface(); in findExplicitInstancetypeDeclarer() 2172 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr() 2178 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr() 2193 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr() 2266 if (Method && Method->getClassInterface()) in ObjCInterfaceOrSuperCCC() 2267 WantObjCSuper = Method->getClassInterface()->getSuperClass(); in ObjCInterfaceOrSuperCCC() 2306 if (!Method->getClassInterface()) { in getObjCMessageKind() [all …]
|
| H A D | SemaExprMember.cpp | 1382 D = Category->getClassInterface(); in LookupMemberExpr() 1385 ClassDeclared = Implementation->getClassInterface(); in LookupMemberExpr() 1422 ClassOfMethodDecl = MD->getClassInterface(); in LookupMemberExpr() 1432 ClassOfMethodDecl = IMPD->getClassInterface(); in LookupMemberExpr() 1435 ClassOfMethodDecl = CatImplClass->getClassInterface(); in LookupMemberExpr() 1563 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr()
|
| /openbsd-src/gnu/llvm/clang/lib/Index/ |
| H A D | IndexSymbol.cpp | 41 return isUnitTestCase(D->getClassInterface()); in isUnitTest() 195 ClsD = cast<ObjCImplementationDecl>(D)->getClassInterface(); in getSymbolInfo() 210 ClsD = CatD->getClassInterface(); in getSymbolInfo() 212 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 | 406 const ObjCInterfaceDecl *ID = D->getClassInterface(); in VisitObjCMethodDecl() 433 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl() 457 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 317 ObjCInterfaceDecl *getClassInterface(); 318 const ObjCInterfaceDecl *getClassInterface() const { in getClassInterface() function 319 return const_cast<ObjCMethodDecl*>(this)->getClassInterface(); in getClassInterface() 2357 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function 2358 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function 2472 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function 2473 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function 2697 return getClassInterface()->getIdentifier(); in getIdentifier() 2777 const ObjCInterfaceDecl *getClassInterface() const { return AliasedClass; } in getClassInterface() function 2778 ObjCInterfaceDecl *getClassInterface() { return AliasedClass; } in getClassInterface() function
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 765 PrimaryInterface = CategoryDecl->getClassInterface(); in findBackingIvar() 767 PrimaryInterface = ImplDecl->getClassInterface(); in findBackingIvar() 794 const ObjCInterfaceDecl *IntD = MD->getClassInterface(); in createObjCPropertyGetter() 895 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()
|
| /openbsd-src/gnu/llvm/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 | 1590 if (const ObjCInterfaceDecl *ID = MD->getClassInterface()) in IsIvarOffsetKnownIdempotent() 2172 Fn = GenerateDirectMethod(Method, Method->getClassInterface()); in EmitMessageSend() 3344 const ObjCInterfaceDecl *Interface = OCD->getClassInterface(); in GenerateCategory() 3479 ID->getClassInterface()->all_declared_ivar_begin(); in hasMRCWeakIvars() 3515 const_cast<ObjCInterfaceDecl*>(ID->getClassInterface()); in GenerateClass() 3535 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in GenerateClass() 3615 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in EmitMetaClass() 3621 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in EmitMetaClass() 3629 if (ObjCInterfaceDecl *Super = ID->getClassInterface()->getSuperClass()) { in EmitMetaClass() 3737 ID, ID->getClassInterface(), ObjCTypes, isMetaclass); in EmitClassExtension() [all …]
|
| H A D | CGObjC.cpp | 83 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() 1054 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCGetter() 1230 EmitIvarOffsetAsPointerDiff(classImpl->getClassInterface(), ivar); in generateObjCGetterBody() 1534 EmitIvarOffsetAsPointerDiff(classImpl->getClassInterface(), ivar); in generateObjCSetterBody() 1640 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCSetter() 1684 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in emitCXXDestructMethod() 1717 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 176 return canModify(Impl->getClassInterface()); in canModify() 833 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface(); in migrateProtocolConformance() 980 ObjCInterfaceDecl *IDecl = OM->getClassInterface(); in ReplaceWithClasstype() 1034 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType() 1036 IDecl = ImpDecl->getClassInterface(); in migrateMethodInstanceType() 1305 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod() 1307 IDecl = ImpDecl->getClassInterface(); in migrateFactoryMethod() 1699 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); in inferDesignatedInitializers()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CIndexHigh.cpp | 85 if (ImplD->getClassInterface()) in getCanonical() 86 return getCanonical(ImplD->getClassInterface()); in getCanonical()
|
| /openbsd-src/gnu/llvm/clang/lib/ExtractAPI/ |
| H A D | DeclarationFragments.cpp | 534 auto *Interface = Category->getClassInterface(); in getFragmentsForObjCCategory() 540 .append(Category->getClassInterface()->getName(), in getFragmentsForObjCCategory()
|