Home
last modified time | relevance | path

Searched refs:getClassInterface (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCInstMethSignature.cpp53 << *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 DObjCUnusedIVarsChecker.cpp88 for (const auto *Cat : ID->getClassInterface()->visible_categories()) { in Scan()
109 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkObjCUnusedIvar()
H A DObjCMissingSuperCallChecker.cpp90 const ObjCInterfaceDecl *ID = D->getClassInterface()->getSuperClass(); in isCheckableClass()
H A DDirectIvarAssignment.cpp119 const ObjCInterfaceDecl *InterD = D->getClassInterface(); in checkASTDecl()
H A DCheckObjCDealloc.cpp202 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()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp896 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 DMangle.cpp338 << MD->getClassInterface()->getName() << '_'; in mangleObjCMethodName()
370 OS << CID->getClassInterface()->getName(); in mangleObjCMethodName()
H A DJSONNodeDumper.cpp1130 JOS.attribute("interface", createBareDeclRef(D->getClassInterface())); in VisitObjCCategoryDecl()
1142 JOS.attribute("interface", createBareDeclRef(D->getClassInterface())); in VisitObjCCategoryImplDecl()
1172 JOS.attribute("interface", createBareDeclRef(D->getClassInterface())); in VisitObjCImplementationDecl()
1178 JOS.attribute("interface", createBareDeclRef(D->getClassInterface())); in VisitObjCCompatibleAliasDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp394 OldContextName = Category->getClassInterface()->getIdentifier(); in checkAtomicPropertyMismatch()
414 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension()
1015 auto OrigClass = Category->getClassInterface(); in hasWrittenStorageAttribute()
1086 IDecl = IC->getClassInterface(); in ActOnPropertyImplDecl()
1160 IDecl = CatImplClass->getClassInterface(); in ActOnPropertyImplDecl()
1568 declaresSameEntity(IC->getClassInterface(), ClassDeclared)) { in ActOnPropertyImplDecl()
1969 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties()
2027 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties()
2088 if ((PrimaryClass = C->getClassInterface())) in DiagnoseUnimplementedProperties()
2373 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl()
[all …]
H A DSemaDeclObjC.cpp89 receiverClass = method->getClassInterface(); in checkInitMethod()
159 CurrentClass = Cat->getClassInterface(); in CheckObjCMethodOverride()
161 CurrentClass = Impl->getClassInterface(); in CheckObjCMethodOverride()
164 CurrentClass = CatImpl->getClassInterface(); in CheckObjCMethodOverride()
314 if (!CD->getClassInterface()->isDeprecated()) in DiagnoseObjCImplementedDeprecations()
316 ND = CD->getClassInterface(); in DiagnoseObjCImplementedDeprecations()
397 MDecl->createImplicitParams(Context, MDecl->getClassInterface()); in ActOnStartOfObjCMethodDef()
445 if (ObjCInterfaceDecl *IC = MDecl->getClassInterface()) { in ActOnStartOfObjCMethodDef()
459 if (ObjCInterfaceDecl *OID = CD->getClassInterface()) in ActOnStartOfObjCMethodDef()
2141 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); in CheckImplementationIvars()
[all …]
H A DSemaAPINotes.cpp582 if (ObjCInterfaceDecl *IFace = D->getClassInterface()) in ProcessAPINotes()
946 ObjCContainer = Cat->getClassInterface(); in ProcessAPINotes()
952 if (Category->getClassInterface()) in ProcessAPINotes()
953 ObjCContainer = Category->getClassInterface(); in ProcessAPINotes()
959 if (Impl->getClassInterface()) in ProcessAPINotes()
960 ObjCContainer = Impl->getClassInterface(); in ProcessAPINotes()
H A DSemaAvailability.cpp201 if (MD->getClassInterface() == Impl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext()
224 if (const ObjCInterfaceDecl *Interface = CatOrImpl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext()
230 if (const ObjCInterfaceDecl *Interface = CatD->getClassInterface()) in ShouldDiagnoseAvailabilityInContext()
288 return Imp->getClassInterface(); in findEnclosingDeclToAnnotate()
H A DSemaExprObjC.cpp1284 ObjCInterfaceDecl *IFace = CurMD->getClassInterface(); in findMethodInCurrentClass()
1508 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) { in getBaseMessageSendResultType()
1559 Context.getObjCInterfaceType(MD->getClassInterface())); in getMessageSendResultType()
1649 iface = impl->getClassInterface(); in findExplicitInstancetypeDeclarer()
2184 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr()
2190 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()
2205 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
2279 if (Method && Method->getClassInterface()) in ObjCInterfaceOrSuperCCC()
2280 WantObjCSuper = Method->getClassInterface()->getSuperClass(); in ObjCInterfaceOrSuperCCC()
2318 if (!Method->getClassInterface()) { in getObjCMessageKind()
[all …]
H A DSemaExprMember.cpp1429 D = Category->getClassInterface(); in LookupMemberExpr()
1432 ClassDeclared = Implementation->getClassInterface(); in LookupMemberExpr()
1469 ClassOfMethodDecl = MD->getClassInterface(); in LookupMemberExpr()
1479 ClassOfMethodDecl = IMPD->getClassInterface(); in LookupMemberExpr()
1482 ClassOfMethodDecl = CatImplClass->getClassInterface(); in LookupMemberExpr()
1609 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp41 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 DIndexDecl.cpp452 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 DUSRGeneration.cpp424 const ObjCInterfaceDecl *ID = D->getClassInterface(); in VisitObjCMethodDecl()
451 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
475 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h315 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/ARCMigrate/
H A DObjCMT.cpp173 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()
1697 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); in inferDesignatedInitializers()
H A DTransProperties.cpp92 ObjCInterfaceDecl *iface = D->getClassInterface(); in doTransform()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCMac.cpp1590 if (const ObjCInterfaceDecl *ID = MD->getClassInterface()) in IsIvarOffsetKnownIdempotent()
2171 Fn = GenerateDirectMethod(Method, Method->getClassInterface()); in EmitMessageSend()
3342 const ObjCInterfaceDecl *Interface = OCD->getClassInterface(); in GenerateCategory()
3477 ID->getClassInterface()->all_declared_ivar_begin(); in hasMRCWeakIvars()
3513 const_cast<ObjCInterfaceDecl*>(ID->getClassInterface()); in GenerateClass()
3533 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in GenerateClass()
3612 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in EmitMetaClass()
3618 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in EmitMetaClass()
3625 if (ObjCInterfaceDecl *Super = ID->getClassInterface()->getSuperClass()) { in EmitMetaClass()
3732 ID, ID->getClassInterface(), ObjCTypes, isMetaclass); in EmitClassExtension()
[all …]
H A DCGObjC.cpp82 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()
1229 EmitIvarOffsetAsPointerDiff(classImpl->getClassInterface(), ivar); in generateObjCGetterBody()
1528 EmitIvarOffsetAsPointerDiff(classImpl->getClassInterface(), ivar); in generateObjCSetterBody()
1634 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCSetter()
1678 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in emitCXXDestructMethod()
1711 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod()
[all …]
H A DCGObjCGNU.cpp1720 const_cast<ObjCInterfaceDecl *>(OID->getClassInterface()); in GenerateClass()
1784 OID->getClassInterface()->getSuperClass(); in GenerateClass()
1879 CGM.setGVProperties(OffsetVar, OID->getClassInterface()); in GenerateClass()
1963 if (OID->getClassInterface()->hasAttr<DLLExportAttr>()) { in GenerateClass()
2894 imp = GenerateMethod(Method, Method->getClassInterface()); in GenerateMessageSend()
3457 const ObjCInterfaceDecl *Class = OCD->getClassInterface(); in GenerateCategory()
3595 const_cast<ObjCInterfaceDecl *>(OAD->getClassInterface()); in RegisterAlias()
3605 OID->getClassInterface()->getSuperClass(); in GenerateClass()
3614 const_cast<ObjCInterfaceDecl *>(OID->getClassInterface()); in GenerateClass()
3790 OID->getClassInterface()); in GenerateClass()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp378 OS << OC->getClassInterface()->getName(); in getFunctionName()
384 OS << OCD->getClassInterface()->getName() << '(' << OCD->getName() << ')'; in getFunctionName()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp863 CDecl = CatDecl->getClassInterface(); in getIvarAccessString()
1354 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
1367 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
2639 ObjCInterfaceDecl *BoxingClass = BoxingMethod->getClassInterface(); in RewriteObjCBoxedExpr()
3240 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr()
3334 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr()
4003 ObjCInterfaceDecl *CDecl = OIMP->getClassInterface(); in RewriteImplementations()
4012 ObjCInterfaceDecl *CDecl = CIMP->getClassInterface(); in RewriteImplementations()
4439 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName()
7000 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface(); in RewriteObjCClassMetaData()
[all …]

123