Home
last modified time | relevance | path

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

123

/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCInstMethSignature.cpp54 << *MethDerived->getClassInterface() in CompareReturnTypes()
56 << *MethAncestor->getClassInterface() in CompareReturnTypes()
63 << *MethAncestor->getClassInterface() in CompareReturnTypes()
83 const ObjCInterfaceDecl *D = ID->getClassInterface(); in CheckObjCInstMethSignature()
H A DObjCUnusedIVarsChecker.cpp90 for (const auto *Cat : ID->getClassInterface()->visible_categories()) { in Scan()
111 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkObjCUnusedIvar()
H A DObjCMissingSuperCallChecker.cpp93 const ObjCInterfaceDecl *ID = D->getClassInterface(); in isCheckableClass()
H A DDirectIvarAssignment.cpp121 const ObjCInterfaceDecl *InterD = D->getClassInterface(); in checkASTDecl()
H A DCheckObjCDealloc.cpp86 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkObjCDealloc()
H A DDynamicTypePropagation.cpp236 dyn_cast<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl())) in getObjectTypeForAllocAndNew()
H A DObjCSelfInitChecker.cpp401 ObjCInterfaceDecl *ID = MD->getClassInterface()->getSuperClass(); in shouldRunOnFunctionOrMethod()
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp672 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface()
751 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclarationImpl()
776 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getCanonicalDecl()
952 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface() function in ObjCMethodDecl
956 return CD->getClassInterface(); in getClassInterface()
958 return IMD->getClassInterface(); in getClassInterface()
1050 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
1063 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow()
1112 Container = CatDecl->getClassInterface(); in findPropertyDecl()
1229 const_cast<ObjCImplementationDecl*>(this)->getClassInterface()) in getObjCRuntimeNameAsString()
[all …]
H A DDeclPrinter.cpp1066 Out << "@implementation " << *PID->getClassInterface() << '(' << *PID <<")\n"; in VisitObjCCategoryImplDecl()
1074 Out << "@interface " << *PID->getClassInterface() << '(' << *PID << ")\n"; in VisitObjCCategoryDecl()
1093 << ' ' << *AID->getClassInterface() << ";\n"; in VisitObjCCompatibleAliasDecl()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaDeclObjC.cpp84 receiverClass = method->getClassInterface(); in checkInitMethod()
129 CurrentClass = Cat->getClassInterface(); in CheckObjCMethodOverride()
131 CurrentClass = Impl->getClassInterface(); in CheckObjCMethodOverride()
134 CurrentClass = CatImpl->getClassInterface(); in CheckObjCMethodOverride()
316 MDecl->createImplicitParams(Context, MDecl->getClassInterface()); in ActOnStartOfObjCMethodDef()
365 if (ObjCInterfaceDecl *IC = MDecl->getClassInterface()) { in ActOnStartOfObjCMethodDef()
379 if (ObjCInterfaceDecl *OID = CD->getClassInterface()) in ActOnStartOfObjCMethodDef()
1149 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); in CheckImplementationIvars()
1683 ObjCInterfaceDecl *IDecl = C ? C->getClassInterface() in CheckProtocolMethodDefs()
1915 ObjCInterfaceDecl *IDecl = CatDecl->getClassInterface(); in CheckCategoryVsClassMethodMatches()
[all …]
H A DSemaObjCProperty.cpp330 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension()
822 IDecl = IC->getClassInterface(); in ActOnPropertyImplDecl()
894 IDecl = CatImplClass->getClassInterface(); in ActOnPropertyImplDecl()
1265 declaresSameEntity(IC->getClassInterface(), ClassDeclared)) { in ActOnPropertyImplDecl()
1615 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties()
1665 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties()
1723 if ((PrimaryClass = C->getClassInterface())) in DiagnoseUnimplementedProperties()
2070 CurrentClass = Cat->getClassInterface(); in ProcessPropertyDecl()
2072 CurrentClass = Impl->getClassInterface(); in ProcessPropertyDecl()
H A DSemaExprMember.cpp1300 D = CAT->getClassInterface(); in LookupMemberExpr()
1332 ClassOfMethodDecl = MD->getClassInterface(); in LookupMemberExpr()
1342 ClassOfMethodDecl = IMPD->getClassInterface(); in LookupMemberExpr()
1345 ClassOfMethodDecl = CatImplClass->getClassInterface(); in LookupMemberExpr()
1476 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr()
H A DSemaExprObjC.cpp1164 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) in getMessageSendResultType()
1201 iface = impl->getClassInterface(); in findExplicitInstancetypeDeclarer()
1756 CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
1760 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()
1776 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
1842 if (Method && Method->getClassInterface()) in ObjCInterfaceOrSuperCCC()
1843 WantObjCSuper = Method->getClassInterface()->getSuperClass(); in ObjCInterfaceOrSuperCCC()
1878 if (!Method->getClassInterface()) { in getObjCMessageKind()
1884 if (Method->getClassInterface()->lookupInstanceVariable(Name, in getObjCMessageKind()
1966 ObjCInterfaceDecl *Class = Method->getClassInterface(); in ActOnSuperMessage()
[all …]
H A DSemaCodeComplete.cpp192 if (ObjCInterfaceDecl *Interface = Method->getClassInterface()) in ResultBuilder()
2002 if (ObjCInterfaceDecl *ID = Method->getClassInterface()) in AddOrdinaryNameResults()
4900 Class = Category->getClassInterface(); in CodeCompleteObjCPropertyGetter()
4928 Class = Category->getClassInterface(); in CodeCompleteObjCPropertySetter()
5117 ObjCInterfaceDecl *Class = CurMethod->getClassInterface(); in AddSuperSendCompletion()
5230 if (ObjCInterfaceDecl *Iface = Method->getClassInterface()) in CodeCompleteObjCMessageReceiver()
5255 CDecl = CurMethod->getClassInterface(); in CodeCompleteObjCSuperMessage()
5532 if (ObjCInterfaceDecl *ClassDecl = CurMethod->getClassInterface()) in CodeCompleteObjCInstanceMessage()
5942 AddObjCProperties(ClassImpl->getClassInterface(), false, in CodeCompleteObjCPropertyDefinition()
5975 Class = ClassImpl->getClassInterface(); in CodeCompleteObjCPropertySynthesizeIvar()
[all …]
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DDeclObjC.h323 ObjCInterfaceDecl *getClassInterface();
324 const ObjCInterfaceDecl *getClassInterface() const { in getClassInterface() function
325 return const_cast<ObjCMethodDecl*>(this)->getClassInterface(); in getClassInterface()
1759 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function
1760 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function
1859 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function
1860 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function
2093 return getClassInterface()->getIdentifier(); in getIdentifier()
2172 const ObjCInterfaceDecl *getClassInterface() const { return AliasedClass; } in getClassInterface() function
2173 ObjCInterfaceDecl *getClassInterface() { return AliasedClass; } in getClassInterface() function
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGObjCMac.cpp1451 if (const ObjCInterfaceDecl *ID = MD->getClassInterface()) in IsIvarOffsetKnownIdempotent()
2901 const ObjCInterfaceDecl *Interface = OCD->getClassInterface(); in GenerateCategory()
3015 const_cast<ObjCInterfaceDecl*>(ID->getClassInterface()); in GenerateClass()
3027 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in GenerateClass()
3106 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in EmitMetaClass()
3111 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in EmitMetaClass()
3120 if (ObjCInterfaceDecl *Super = ID->getClassInterface()->getSuperClass()) { in EmitMetaClass()
3219 ID, ID->getClassInterface(), ObjCTypes); in EmitClassExtension()
3255 const ObjCInterfaceDecl *OID = ID->getClassInterface(); in EmitIvarList()
4770 const ObjCInterfaceDecl *OI = OMD->getClassInterface(); in BuildIvarLayout()
[all …]
H A DCGObjCRuntime.cpp42 if (ID && declaresSameEntity(ID->getClassInterface(), Container)) in LookupFieldBitOffset()
75 return LookupFieldBitOffset(CGM, OID->getClassInterface(), OID, Ivar) / in ComputeIvarBaseOffset()
H A DCGObjC.cpp73 const ObjCInterfaceDecl *ClassDecl = BoxingMethod->getClassInterface(); in EmitObjCBoxedExpr()
396 OMD->getClassInterface(), in EmitObjCMessageExpr()
434 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in Emit()
501 StartObjCMethod(OMD, OMD->getClassInterface()); in GenerateObjCMethod()
747 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCGetter()
884 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCGetterBody()
1173 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCSetterBody()
1276 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCSetter()
1320 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in emitCXXDestructMethod()
1353 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/Index/
H A DUSRGeneration.cpp334 const ObjCInterfaceDecl *ID = D->getClassInterface(); in VisitObjCMethodDecl()
358 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
380 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
/minix3/external/bsd/llvm/dist/clang/tools/libclang/
H A DCIndexHigh.cpp86 if (ImplD->getClassInterface()) in getCanonical()
87 return getCanonical(ImplD->getClassInterface()); in getCanonical()
H A DIndexDecl.cpp156 const ObjCInterfaceDecl *Class = D->getClassInterface(); in VisitObjCImplementationDecl()
H A DIndexingContext.cpp517 const ObjCInterfaceDecl *IFaceD = D->getClassInterface(); in handleObjCCategory()
550 const ObjCInterfaceDecl *IFaceD = CatD->getClassInterface(); in handleObjCCategoryImpl()
819 return getEntityDecl(ImplD->getClassInterface()); in getEntityDecl()
/minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/
H A DObjCMT.cpp171 return canModify(Impl->getClassInterface()); in canModify()
836 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface(); in migrateProtocolConformance()
983 ObjCInterfaceDecl *IDecl = OM->getClassInterface(); in ReplaceWithClasstype()
1037 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType()
1039 IDecl = ImpDecl->getClassInterface(); in migrateMethodInstanceType()
1309 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod()
1311 IDecl = ImpDecl->getClassInterface(); in migrateFactoryMethod()
1711 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); in inferDesignatedInitializers()
H A DTransProperties.cpp93 ObjCInterfaceDecl *iface = D->getClassInterface(); in doTransform()
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp871 CDecl = CatDecl->getClassInterface(); in getIvarAccessString()
1375 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
1386 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
2659 ObjCInterfaceDecl *BoxingClass = BoxingMethod->getClassInterface(); in RewriteObjCBoxedExpr()
3287 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr()
3391 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr()
4102 ObjCInterfaceDecl *CDecl = OIMP->getClassInterface(); in RewriteImplementations()
4111 ObjCInterfaceDecl *CDecl = CIMP->getClassInterface(); in RewriteImplementations()
4539 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName()
7169 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface(); in RewriteObjCClassMetaData()
[all …]

123