Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp853 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface()
934 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclarationImpl()
966 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) { in getCanonicalDecl()
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()
[all …]
H A DMangle.cpp331 << MD->getClassInterface()->getName() << '_'; in mangleObjCMethodName()
363 OS << CID->getClassInterface()->getName(); in mangleObjCMethodName()
/netbsd-src/external/apache2/llvm/dist/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()
2119 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()
1591 declaresSameEntity(IC->getClassInterface(), ClassDeclared)) { in ActOnPropertyImplDecl()
1991 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties()
2049 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties()
2111 if ((PrimaryClass = C->getClassInterface())) in DiagnoseUnimplementedProperties()
2395 GetterMethod = IsClassProperty ? CatDecl->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()
1496 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) { in getBaseMessageSendResultType()
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()
2269 WantObjCSuper = Method->getClassInterface()->getSuperClass(); in ObjCInterfaceOrSuperCCC()
2308 if (!Method->getClassInterface()) { in getObjCMessageKind()
[all …]
H A DSemaExprMember.cpp1365 D = Category->getClassInterface(); in LookupMemberExpr()
1368 ClassDeclared = Implementation->getClassInterface(); in LookupMemberExpr()
1405 ClassOfMethodDecl = MD->getClassInterface(); in LookupMemberExpr()
1415 ClassOfMethodDecl = IMPD->getClassInterface(); in LookupMemberExpr()
1418 ClassOfMethodDecl = CatImplClass->getClassInterface(); in LookupMemberExpr()
1546 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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.cpp1586 if (const ObjCInterfaceDecl *ID = MD->getClassInterface()) in IsIvarOffsetKnownIdempotent()
2234 Fn = GenerateDirectMethod(Method, Method->getClassInterface()); in EmitMessageSend()
3404 const ObjCInterfaceDecl *Interface = OCD->getClassInterface(); in GenerateCategory()
3539 ID->getClassInterface()->all_declared_ivar_begin(); in hasMRCWeakIvars()
3575 const_cast<ObjCInterfaceDecl*>(ID->getClassInterface()); in GenerateClass()
3595 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in GenerateClass()
3675 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in EmitMetaClass()
3681 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in EmitMetaClass()
3689 if (ObjCInterfaceDecl *Super = ID->getClassInterface()->getSuperClass()) { in EmitMetaClass()
3797 ID, ID->getClassInterface(), ObjCTypes, isMetaclass); in EmitClassExtension()
[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()
1049 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCGetter()
1194 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCGetterBody()
1481 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCSetterBody()
1581 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCSetter()
1625 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in emitCXXDestructMethod()
1658 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndexHigh.cpp85 if (ImplD->getClassInterface()) in getCanonical()
86 return getCanonical(ImplD->getClassInterface()); in getCanonical()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp608 OS << OC->getClassInterface()->getName(); in getFunctionName()
614 OS << OCD->getClassInterface()->getName() << '(' in getFunctionName()
/netbsd-src/external/apache2/llvm/dist/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()
3339 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr()
4015 ObjCInterfaceDecl *CDecl = OIMP->getClassInterface(); in RewriteImplementations()
4024 ObjCInterfaceDecl *CDecl = CIMP->getClassInterface(); in RewriteImplementations()
4452 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName()
7014 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface(); in RewriteObjCClassMetaData()
[all …]

123