Home
last modified time | relevance | path

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

123

/external/clang/lib/StaticAnalyzer/Checkers/
DCheckObjCInstMethSignature.cpp54 << *MethDerived->getClassInterface() in CompareReturnTypes()
56 << *MethAncestor->getClassInterface() in CompareReturnTypes()
63 << *MethAncestor->getClassInterface() in CompareReturnTypes()
83 const ObjCInterfaceDecl *D = ID->getClassInterface(); in CheckObjCInstMethSignature()
DObjCUnusedIVarsChecker.cpp90 for (const auto *Cat : ID->getClassInterface()->visible_categories()) { in Scan()
111 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkObjCUnusedIvar()
DObjCMissingSuperCallChecker.cpp93 const ObjCInterfaceDecl *ID = D->getClassInterface(); in isCheckableClass()
DDirectIvarAssignment.cpp121 const ObjCInterfaceDecl *InterD = D->getClassInterface(); in checkASTDecl()
DDynamicTypePropagation.cpp236 dyn_cast<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl())) in getObjectTypeForAllocAndNew()
DCheckObjCDealloc.cpp107 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkObjCDealloc()
DObjCSelfInitChecker.cpp401 ObjCInterfaceDecl *ID = MD->getClassInterface()->getSuperClass(); in shouldRunOnFunctionOrMethod()
/external/clang/lib/AST/
DDeclObjC.cpp668 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface()
747 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclarationImpl()
772 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getCanonicalDecl()
943 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface() function in ObjCMethodDecl
947 return CD->getClassInterface(); in getClassInterface()
949 return IMD->getClassInterface(); in getClassInterface()
1034 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
1047 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow()
1096 Container = CatDecl->getClassInterface(); in findPropertyDecl()
1423 ID = IM->getClassInterface(); in Create()
[all …]
DDeclPrinter.cpp1043 Out << "@implementation " << *PID->getClassInterface() << '(' << *PID <<")\n"; in VisitObjCCategoryImplDecl()
1051 Out << "@interface " << *PID->getClassInterface() << '(' << *PID << ")\n"; in VisitObjCCategoryDecl()
1070 << ' ' << *AID->getClassInterface() << ";\n"; in VisitObjCCompatibleAliasDecl()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp84 receiverClass = method->getClassInterface(); in checkInitMethod()
132 CurrentClass = Cat->getClassInterface(); in CheckObjCMethodOverride()
134 CurrentClass = Impl->getClassInterface(); in CheckObjCMethodOverride()
137 CurrentClass = CatImpl->getClassInterface(); in CheckObjCMethodOverride()
321 MDecl->createImplicitParams(Context, MDecl->getClassInterface()); in ActOnStartOfObjCMethodDef()
369 if (ObjCInterfaceDecl *IC = MDecl->getClassInterface()) { in ActOnStartOfObjCMethodDef()
383 if (ObjCInterfaceDecl *OID = CD->getClassInterface()) in ActOnStartOfObjCMethodDef()
1154 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); in CheckImplementationIvars()
1687 ObjCInterfaceDecl *IDecl = C ? C->getClassInterface() in CheckProtocolMethodDefs()
1919 ObjCInterfaceDecl *IDecl = CatDecl->getClassInterface(); in CheckCategoryVsClassMethodMatches()
[all …]
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()
1611 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties()
1661 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties()
1719 if ((PrimaryClass = C->getClassInterface())) in DiagnoseUnimplementedProperties()
2066 CurrentClass = Cat->getClassInterface(); in ProcessPropertyDecl()
2068 CurrentClass = Impl->getClassInterface(); in ProcessPropertyDecl()
DSemaExprMember.cpp1297 D = CAT->getClassInterface(); in LookupMemberExpr()
1329 ClassOfMethodDecl = MD->getClassInterface(); in LookupMemberExpr()
1339 ClassOfMethodDecl = IMPD->getClassInterface(); in LookupMemberExpr()
1342 ClassOfMethodDecl = CatImplClass->getClassInterface(); in LookupMemberExpr()
1473 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr()
DSemaExprObjC.cpp1157 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) in getMessageSendResultType()
1194 iface = impl->getClassInterface(); in findExplicitInstancetypeDeclarer()
1726 CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
1730 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()
1746 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
1812 if (Method && Method->getClassInterface()) in ObjCInterfaceOrSuperCCC()
1813 WantObjCSuper = Method->getClassInterface()->getSuperClass(); in ObjCInterfaceOrSuperCCC()
1848 if (!Method->getClassInterface()) { in getObjCMessageKind()
1854 if (Method->getClassInterface()->lookupInstanceVariable(Name, in getObjCMessageKind()
1937 ObjCInterfaceDecl *Class = Method->getClassInterface(); in ActOnSuperMessage()
[all …]
DSemaCodeComplete.cpp192 if (ObjCInterfaceDecl *Interface = Method->getClassInterface()) in ResultBuilder()
2002 if (ObjCInterfaceDecl *ID = Method->getClassInterface()) in AddOrdinaryNameResults()
4896 Class = Category->getClassInterface(); in CodeCompleteObjCPropertyGetter()
4924 Class = Category->getClassInterface(); in CodeCompleteObjCPropertySetter()
5113 ObjCInterfaceDecl *Class = CurMethod->getClassInterface(); in AddSuperSendCompletion()
5226 if (ObjCInterfaceDecl *Iface = Method->getClassInterface()) in CodeCompleteObjCMessageReceiver()
5251 CDecl = CurMethod->getClassInterface(); in CodeCompleteObjCSuperMessage()
5528 if (ObjCInterfaceDecl *ClassDecl = CurMethod->getClassInterface()) in CodeCompleteObjCInstanceMessage()
5938 AddObjCProperties(ClassImpl->getClassInterface(), false, in CodeCompleteObjCPropertyDefinition()
5971 Class = ClassImpl->getClassInterface(); in CodeCompleteObjCPropertySynthesizeIvar()
[all …]
/external/clang/include/clang/AST/
DDeclObjC.h323 ObjCInterfaceDecl *getClassInterface();
324 const ObjCInterfaceDecl *getClassInterface() const { in getClassInterface() function
325 return const_cast<ObjCMethodDecl*>(this)->getClassInterface(); in getClassInterface()
1750 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function
1751 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function
1850 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function
1851 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function
2084 return getClassInterface()->getIdentifier(); in getIdentifier()
2159 const ObjCInterfaceDecl *getClassInterface() const { return AliasedClass; } in getClassInterface() function
2160 ObjCInterfaceDecl *getClassInterface() { return AliasedClass; } in getClassInterface() function
/external/clang/lib/CodeGen/
DCGObjCMac.cpp1453 if (const ObjCInterfaceDecl *ID = MD->getClassInterface()) in IsIvarOffsetKnownIdempotent()
2921 const ObjCInterfaceDecl *Interface = OCD->getClassInterface(); in GenerateCategory()
3039 const_cast<ObjCInterfaceDecl*>(ID->getClassInterface()); in GenerateClass()
3051 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in GenerateClass()
3132 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in EmitMetaClass()
3137 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in EmitMetaClass()
3146 if (ObjCInterfaceDecl *Super = ID->getClassInterface()->getSuperClass()) { in EmitMetaClass()
3249 ID, ID->getClassInterface(), ObjCTypes); in EmitClassExtension()
3286 const ObjCInterfaceDecl *OID = ID->getClassInterface(); in EmitIvarList()
4811 const ObjCInterfaceDecl *OI = OMD->getClassInterface(); in BuildIvarLayout()
[all …]
DCGObjCRuntime.cpp42 if (ID && declaresSameEntity(ID->getClassInterface(), Container)) in LookupFieldBitOffset()
75 return LookupFieldBitOffset(CGM, OID->getClassInterface(), OID, Ivar) / in ComputeIvarBaseOffset()
DCGObjC.cpp74 const ObjCInterfaceDecl *ClassDecl = BoxingMethod->getClassInterface(); in EmitObjCBoxedExpr()
400 OMD->getClassInterface(), in EmitObjCMessageExpr()
438 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in Emit()
504 StartObjCMethod(OMD, OMD->getClassInterface(), OMD->getLocStart()); in GenerateObjCMethod()
752 StartObjCMethod(OMD, IMP->getClassInterface(), OMD->getLocStart()); in GenerateObjCGetter()
889 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCGetterBody()
1178 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCSetterBody()
1281 StartObjCMethod(OMD, IMP->getClassInterface(), OMD->getLocStart()); in GenerateObjCSetter()
1325 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in emitCXXDestructMethod()
1358 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod()
[all …]
/external/clang/lib/Index/
DUSRGeneration.cpp318 const ObjCInterfaceDecl *ID = D->getClassInterface(); in VisitObjCMethodDecl()
342 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
364 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
/external/clang/tools/libclang/
DCIndexHigh.cpp86 if (ImplD->getClassInterface()) in getCanonical()
87 return getCanonical(ImplD->getClassInterface()); in getCanonical()
DIndexDecl.cpp156 const ObjCInterfaceDecl *Class = D->getClassInterface(); in VisitObjCImplementationDecl()
DIndexingContext.cpp517 const ObjCInterfaceDecl *IFaceD = D->getClassInterface(); in handleObjCCategory()
550 const ObjCInterfaceDecl *IFaceD = CatD->getClassInterface(); in handleObjCCategoryImpl()
819 return getEntityDecl(ImplD->getClassInterface()); in getEntityDecl()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp167 return canModify(Impl->getClassInterface()); in canModify()
700 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface(); in migrateProtocolConformance()
858 ObjCInterfaceDecl *IDecl = OM->getClassInterface(); in ReplaceWithClasstype()
912 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType()
914 IDecl = ImpDecl->getClassInterface(); in migrateMethodInstanceType()
1184 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod()
1186 IDecl = ImpDecl->getClassInterface(); in migrateFactoryMethod()
1586 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); in inferDesignatedInitializers()
DTransProperties.cpp93 ObjCInterfaceDecl *iface = D->getClassInterface(); in doTransform()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp883 CDecl = CatDecl->getClassInterface(); in getIvarAccessString()
1387 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
1398 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
2671 ObjCInterfaceDecl *BoxingClass = BoxingMethod->getClassInterface(); in RewriteObjCBoxedExpr()
3299 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr()
3403 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr()
4116 ObjCInterfaceDecl *CDecl = OIMP->getClassInterface(); in RewriteImplementations()
4125 ObjCInterfaceDecl *CDecl = CIMP->getClassInterface(); in RewriteImplementations()
4557 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName()
7187 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface(); in RewriteObjCClassMetaData()
[all …]

123