Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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.cpp197 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 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.cpp335 << MD->getClassInterface()->getName() << '_'; in mangleObjCMethodName()
367 OS << CID->getClassInterface()->getName(); in mangleObjCMethodName()
/openbsd-src/gnu/llvm/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()
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 DSemaObjCProperty.cpp394 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 DSemaAvailability.cpp141 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 DSemaExprObjC.cpp1274 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 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()
/openbsd-src/gnu/llvm/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()
H A DUSRGeneration.cpp406 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 DDeclObjC.h317 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 DBodyFarm.cpp765 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 DAnalysisDeclContext.cpp378 OS << OC->getClassInterface()->getName(); in getFunctionName()
384 OS << OCD->getClassInterface()->getName() << '(' << OCD->getName() << ')'; in getFunctionName()
/openbsd-src/gnu/llvm/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.cpp1590 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 DCGObjC.cpp83 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 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()
1699 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); in inferDesignatedInitializers()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndexHigh.cpp85 if (ImplD->getClassInterface()) in getCanonical()
86 return getCanonical(ImplD->getClassInterface()); in getCanonical()
/openbsd-src/gnu/llvm/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp534 auto *Interface = Category->getClassInterface(); in getFragmentsForObjCCategory()
540 .append(Category->getClassInterface()->getName(), in getFragmentsForObjCCategory()

123