Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCInstMethSignature.cpp53 << *MethDerived->getClassInterface() in CompareReturnTypes()
55 << *MethAncestor->getClassInterface() in CompareReturnTypes()
62 << *MethAncestor->getClassInterface() in CompareReturnTypes()
82 const ObjCInterfaceDecl *D = ID->getClassInterface(); in CheckObjCInstMethSignature()
H A DObjCUnusedIVarsChecker.cpp89 for (const auto *Cat : ID->getClassInterface()->visible_categories()) { in Scan()
110 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkObjCUnusedIvar()
H A DObjCPropertyChecker.cpp61 ImplD = CatD->getClassInterface()->getImplementation(); in checkCopyMutable()
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.cpp196 const ObjCInterfaceDecl *ID = D->getClassInterface(); in REGISTER_SET_FACTORY_WITH_PROGRAMSTATE()
525 cast<ObjCMethodDecl>(LCtx->getDecl())->getClassInterface()) in diagnoseMissingReleases()
819 DeclContext::lookup_result R = CatDecl->getClassInterface()->lookup(ID); in findShadowedPropertyDecl()
H A DObjCSelfInitChecker.cpp399 ObjCInterfaceDecl *ID = MD->getClassInterface()->getSuperClass(); in shouldRunOnFunctionOrMethod()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp853 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface()
1160 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface() function in ObjCMethodDecl
1164 return CD->getClassInterface(); in getClassInterface()
1166 return IMD->getClassInterface(); in getClassInterface()
1278 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
1291 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow()
1338 Container = ImplDecl->getClassInterface(); in findPropertyDecl()
1373 ClassDecl = Category->getClassInterface(); in findPropertyDecl()
1808 ID = IM->getClassInterface(); in Create()
1838 return CD->getClassInterface(); in getContainingInterface()
[all …]
H A DMangle.cpp331 << MD->getClassInterface()->getName() << '_'; in mangleObjCMethodName()
363 OS << CID->getClassInterface()->getName(); in mangleObjCMethodName()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp85 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()
3299 MethodInList->getClassInterface(); in isMethodContextSameForKindofLookup()
3839 IntfDecl = ImplDecl->getClassInterface(); in DiagnoseVariableSizedIvars()
4891 if (IDecl == IMD->getClassInterface()) { in ActOnMethodDeclaration()
4985 CurrentClass = Cat->getClassInterface(); in ActOnMethodDeclaration()
[all …]
H A DSemaObjCProperty.cpp423 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()
1990 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties()
2048 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties()
2110 if ((PrimaryClass = C->getClassInterface())) in DiagnoseUnimplementedProperties()
2396 CatDecl->getClassInterface()-> in ProcessPropertyDecl()
2407 CatDecl->getClassInterface()-> in ProcessPropertyDecl()
2629 CurrentClass = Cat->getClassInterface(); in ProcessPropertyDecl()
[all …]
H A DSemaAvailability.cpp140 if (MD->getClassInterface() == Impl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext()
163 if (const ObjCInterfaceDecl *Interface = CatOrImpl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext()
169 if (const ObjCInterfaceDecl *Interface = CatD->getClassInterface()) in ShouldDiagnoseAvailabilityInContext()
210 return Imp->getClassInterface(); in findEnclosingDeclToAnnotate()
H A DSemaExprObjC.cpp1276 ObjCInterfaceDecl *IFace = CurMD->getClassInterface(); in findMethodInCurrentClass()
1548 Context.getObjCInterfaceType(MD->getClassInterface())); in getMessageSendResultType()
1638 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()
3158 RecRange, Method->getClassInterface()->getName())); in BuildInstanceMessage()
[all …]
H A DSemaExprMember.cpp1366 D = Category->getClassInterface(); in LookupMemberExpr()
1369 ClassDeclared = Implementation->getClassInterface(); in LookupMemberExpr()
1406 ClassOfMethodDecl = MD->getClassInterface(); in LookupMemberExpr()
1416 ClassOfMethodDecl = IMPD->getClassInterface(); in LookupMemberExpr()
1419 ClassOfMethodDecl = CatImplClass->getClassInterface(); in LookupMemberExpr()
1547 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp41 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 DIndexDecl.cpp437 const ObjCInterfaceDecl *Class = D->getClassInterface(); in VisitObjCImplementationDecl()
465 const ObjCInterfaceDecl *C = D->getClassInterface(); in VisitObjCCategoryDecl()
486 const ObjCInterfaceDecl *C = D->getClassInterface(); in VisitObjCCategoryImplDecl()
H A DUSRGeneration.cpp402 const ObjCInterfaceDecl *ID = D->getClassInterface(); in VisitObjCMethodDecl()
429 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
453 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h318 ObjCInterfaceDecl *getClassInterface();
319 const ObjCInterfaceDecl *getClassInterface() const { in getClassInterface() function
320 return const_cast<ObjCMethodDecl*>(this)->getClassInterface(); in getClassInterface()
2309 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function
2310 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function
2424 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function
2425 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function
2649 return getClassInterface()->getIdentifier(); in getIdentifier()
2729 const ObjCInterfaceDecl *getClassInterface() const { return AliasedClass; } in getClassInterface() function
2730 ObjCInterfaceDecl *getClassInterface() { return AliasedClass; } in getClassInterface() function
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp724 PrimaryInterface = CategoryDecl->getClassInterface(); in findBackingIvar()
726 PrimaryInterface = ImplDecl->getClassInterface(); in findBackingIvar()
753 const ObjCInterfaceDecl *IntD = MD->getClassInterface(); in createObjCPropertyGetter()
855 const ObjCInterfaceDecl *OID = D->getClassInterface(); in getBody()
H A DAnalysisDeclContext.cpp379 OS << OC->getClassInterface()->getName(); in getFunctionName()
385 OS << OCD->getClassInterface()->getName() << '(' << OCD->getName() << ')'; in getFunctionName()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp116 if (!D->getClassInterface()) in VisitObjCMethodDecl()
121 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl()
H A DCGObjCMac.cpp3539 ID->getClassInterface()->all_declared_ivar_begin(); in hasMRCWeakIvars()
3575 const_cast<ObjCInterfaceDecl*>(ID->getClassInterface()); in GenerateClass()
3681 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in EmitMetaClass()
3840 const ObjCInterfaceDecl *OID = ID->getClassInterface(); in EmitIvarList()
5622 const ObjCInterfaceDecl *OI = OMD->getClassInterface(); in BuildIvarLayout()
6422 const ObjCInterfaceDecl *OID = ID->getClassInterface(); in BuildClassRoTInitializer()
6434 ID, ID->getClassInterface(), ObjCTypes, true)); in BuildClassRoTInitializer()
6440 ID, ID->getClassInterface(), ObjCTypes, false)); in BuildClassRoTInitializer()
6567 const auto *CI = ID->getClassInterface(); in GenerateClass()
6593 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in GenerateClass()
[all …]
H A DCGObjC.cpp80 const ObjCInterfaceDecl *ClassDecl = BoxingMethod->getClassInterface(); in EmitObjCBoxedExpr()
688 OMD->getClassInterface(), in EmitObjCMessageExpr()
725 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in Emit()
805 StartObjCMethod(OMD, OMD->getClassInterface()); in GenerateObjCMethod()
1050 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCGetter()
1195 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCGetterBody()
1482 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCSetterBody()
1582 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCSetter()
1626 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in emitCXXDestructMethod()
1659 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp176 return canModify(Impl->getClassInterface()); in canModify()
834 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface(); in migrateProtocolConformance()
981 ObjCInterfaceDecl *IDecl = OM->getClassInterface(); in ReplaceWithClasstype()
1035 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType()
1037 IDecl = ImpDecl->getClassInterface(); in migrateMethodInstanceType()
1306 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod()
1308 IDecl = ImpDecl->getClassInterface(); in migrateFactoryMethod()
1703 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); in inferDesignatedInitializers()
/freebsd-13.1/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()
4004 ObjCInterfaceDecl *CDecl = OIMP->getClassInterface(); in RewriteImplementations()
4013 ObjCInterfaceDecl *CDecl = CIMP->getClassInterface(); in RewriteImplementations()
4441 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName()
7003 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface(); in RewriteObjCClassMetaData()
7167 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface(); in RewriteClassSetupInitHook()
7266 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface(); in RewriteObjCCategoryImplDecl()
7350 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface(); in RewriteCategorySetupInitHook()
[all …]

123