Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/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.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()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp861 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface()
1176 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface() function in ObjCMethodDecl
1180 return CD->getClassInterface(); in getClassInterface()
1182 return IMD->getClassInterface(); in getClassInterface()
1294 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
1307 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow()
1354 Container = ImplDecl->getClassInterface(); in findPropertyDecl()
1389 ClassDecl = Category->getClassInterface(); in findPropertyDecl()
1829 ID = IM->getClassInterface(); in Create()
1859 return CD->getClassInterface(); in getContainingInterface()
[all …]
H A DMangle.cpp335 << MD->getClassInterface()->getName() << '_'; in mangleObjCMethodName()
367 OS << CID->getClassInterface()->getName(); in mangleObjCMethodName()
/llvm-project-15.0.7/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()
3305 MethodInList->getClassInterface(); in isMethodContextSameForKindofLookup()
3847 IntfDecl = ImplDecl->getClassInterface(); in DiagnoseVariableSizedIvars()
4899 if (IDecl == IMD->getClassInterface()) { in ActOnMethodDeclaration()
4993 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.cpp1382 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()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/objc/
H A DMissingHashCheck.cpp23 const ObjCInterfaceDecl *InterfaceDecl = Node.getClassInterface(); in AST_MATCHER_P()
H A DSuperSelfCheck.cpp54 const ObjCInterfaceDecl *InterfaceDecl = Node.getClassInterface(); in AST_MATCHER_P()
/llvm-project-15.0.7/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.cpp452 const ObjCInterfaceDecl *Class = D->getClassInterface(); in VisitObjCImplementationDecl()
480 const ObjCInterfaceDecl *C = D->getClassInterface(); in VisitObjCCategoryDecl()
501 const ObjCInterfaceDecl *C = D->getClassInterface(); in VisitObjCCategoryImplDecl()
/llvm-project-15.0.7/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()
2321 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function
2322 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function
2436 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function
2437 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function
2661 return getClassInterface()->getIdentifier(); in getIdentifier()
2741 const ObjCInterfaceDecl *getClassInterface() const { return AliasedClass; } in getClassInterface() function
2742 ObjCInterfaceDecl *getClassInterface() { return AliasedClass; } in getClassInterface() function
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DObjCMemberwiseInitializer.cpp221 Interface = ID->getClassInterface(); in REGISTER_TWEAK()
228 Interface = ID->getClassInterface(); in REGISTER_TWEAK()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DBodyFarm.cpp764 PrimaryInterface = CategoryDecl->getClassInterface(); in findBackingIvar()
766 PrimaryInterface = ImplDecl->getClassInterface(); in findBackingIvar()
793 const ObjCInterfaceDecl *IntD = MD->getClassInterface(); in createObjCPropertyGetter()
894 const ObjCInterfaceDecl *OID = D->getClassInterface(); in getBody()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp121 if (!D->getClassInterface()) in VisitObjCMethodDecl()
126 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl()
H A DCGObjCMac.cpp3474 ID->getClassInterface()->all_declared_ivar_begin(); in hasMRCWeakIvars()
3510 const_cast<ObjCInterfaceDecl*>(ID->getClassInterface()); in GenerateClass()
3616 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in EmitMetaClass()
3775 const ObjCInterfaceDecl *OID = ID->getClassInterface(); in EmitIvarList()
5569 const ObjCInterfaceDecl *OI = OMD->getClassInterface(); in BuildIvarLayout()
6369 const ObjCInterfaceDecl *OID = ID->getClassInterface(); in BuildClassRoTInitializer()
6381 ID, ID->getClassInterface(), ObjCTypes, true)); in BuildClassRoTInitializer()
6387 ID, ID->getClassInterface(), ObjCTypes, false)); in BuildClassRoTInitializer()
6514 const auto *CI = ID->getClassInterface(); in GenerateClass()
6540 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in GenerateClass()
[all …]
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DObjCMT.cpp176 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()
1702 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); in inferDesignatedInitializers()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndexHigh.cpp85 if (ImplD->getClassInterface()) in getCanonical()
86 return getCanonical(ImplD->getClassInterface()); in getCanonical()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.cpp328 const ObjCInterfaceDecl *Class = Category->getClassInterface(); in printObjCContainer()
337 const ObjCInterfaceDecl *Class = CID->getClassInterface(); in printObjCContainer()
367 if (const auto *ID = CD->getClassInterface()) in getCorrespondingObjCImpl()

1234