Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DCheckObjCInstMethSignature.cpp53 << *MethDerived->getClassInterface() in CompareReturnTypes()
55 << *MethAncestor->getClassInterface() in CompareReturnTypes()
62 << *MethAncestor->getClassInterface() in CompareReturnTypes()
82 const ObjCInterfaceDecl *D = ID->getClassInterface(); in CheckObjCInstMethSignature()
DObjCUnusedIVarsChecker.cpp93 Cat = ID->getClassInterface()->visible_categories_begin(), in Scan()
94 CatEnd = ID->getClassInterface()->visible_categories_end(); in Scan()
116 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkObjCUnusedIvar()
DObjCMissingSuperCallChecker.cpp93 const ObjCInterfaceDecl *ID = D->getClassInterface(); in isCheckableClass()
DDirectIvarAssignment.cpp125 const ObjCInterfaceDecl *InterD = D->getClassInterface(); in checkASTDecl()
DDynamicTypePropagation.cpp220 dyn_cast<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl())) in getObjectTypeForAllocAndNew()
DCheckObjCDealloc.cpp106 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkObjCDealloc()
DObjCSelfInitChecker.cpp403 ObjCInterfaceDecl *ID = MD->getClassInterface()->getSuperClass(); in shouldRunOnFunctionOrMethod()
/external/clang/lib/AST/
DDeclObjC.cpp568 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclaration()
590 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getCanonicalDecl()
762 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface() function in ObjCMethodDecl
766 return CD->getClassInterface(); in getClassInterface()
768 return IMD->getClassInterface(); in getClassInterface()
862 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
874 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow()
929 const ObjCInterfaceDecl *Class = Method->getClassInterface(); in collectOverriddenMethodsFast()
971 Container = CatDecl->getClassInterface(); in findPropertyDecl()
1304 ID = IM->getClassInterface(); in Create()
[all …]
DDumpXML.cpp745 visitDeclRef(D->getClassInterface()); in visitObjCImplDeclChildren()
786 visitDeclRef("interface", D->getClassInterface()); in visitObjCCategoryDeclChildren()
877 visitDeclRef(D->getClassInterface()); in visitObjCCompatibleAliasDeclChildren()
DDeclPrinter.cpp1016 Out << "@implementation " << *PID->getClassInterface() << '(' << *PID <<")\n"; in VisitObjCCategoryImplDecl()
1024 Out << "@interface " << *PID->getClassInterface() << '(' << *PID << ")\n"; in VisitObjCCategoryDecl()
1044 << ' ' << *AID->getClassInterface() << ";\n"; in VisitObjCCompatibleAliasDecl()
DASTDumper.cpp1159 dumpDeclRef(D->getClassInterface()); in VisitObjCCategoryDecl()
1174 dumpDeclRef(D->getClassInterface()); in VisitObjCCategoryImplDecl()
1210 dumpDeclRef(D->getClassInterface()); in VisitObjCImplementationDecl()
1223 dumpDeclRef(D->getClassInterface()); in VisitObjCCompatibleAliasDecl()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp84 receiverClass = method->getClassInterface(); in checkInitMethod()
131 CurrentClass = Cat->getClassInterface(); in CheckObjCMethodOverride()
133 CurrentClass = Impl->getClassInterface(); in CheckObjCMethodOverride()
136 CurrentClass = CatImpl->getClassInterface(); in CheckObjCMethodOverride()
321 MDecl->createImplicitParams(Context, MDecl->getClassInterface()); in ActOnStartOfObjCMethodDef()
371 if (ObjCInterfaceDecl *IC = MDecl->getClassInterface()) { in ActOnStartOfObjCMethodDef()
1084 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); in CheckImplementationIvars()
1571 ObjCInterfaceDecl *IDecl = C ? C->getClassInterface() in CheckProtocolMethodDefs()
1801 ObjCInterfaceDecl *IDecl = CatDecl->getClassInterface(); in CheckCategoryVsClassMethodMatches()
1880 if (ObjCInterfaceDecl *ID = C->getClassInterface()) in ImplMethodsVsClassMethods()
[all …]
DSemaExprObjC.cpp1076 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) in getMessageSendResultType()
1565 CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
1569 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()
1585 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
1602 if (ObjCInterfaceDecl *ClassDecl = CurMeth->getClassInterface()) in ActOnClassPropertyRefExpr()
1623 if (ObjCInterfaceDecl *ClassDecl = CurMeth->getClassInterface()) in ActOnClassPropertyRefExpr()
1659 if (Method && Method->getClassInterface()) in ObjCInterfaceOrSuperCCC()
1660 WantObjCSuper = Method->getClassInterface()->getSuperClass(); in ObjCInterfaceOrSuperCCC()
1695 if (!Method->getClassInterface()) { in getObjCMessageKind()
1701 if (Method->getClassInterface()->lookupInstanceVariable(Name, in getObjCMessageKind()
[all …]
DSemaObjCProperty.cpp341 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension()
816 IDecl = IC->getClassInterface(); in ActOnPropertyImplDecl()
890 IDecl = CatImplClass->getClassInterface(); in ActOnPropertyImplDecl()
1233 declaresSameEntity(IC->getClassInterface(), ClassDeclared)) { in ActOnPropertyImplDecl()
1654 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties()
1671 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties()
2009 CurrentClass = Cat->getClassInterface(); in ProcessPropertyDecl()
2011 CurrentClass = Impl->getClassInterface(); in ProcessPropertyDecl()
DSemaExprMember.cpp1204 D = CAT->getClassInterface(); in LookupMemberExpr()
1237 ClassOfMethodDecl = MD->getClassInterface(); in LookupMemberExpr()
1247 ClassOfMethodDecl = IMPD->getClassInterface(); in LookupMemberExpr()
1250 ClassOfMethodDecl = CatImplClass->getClassInterface(); in LookupMemberExpr()
1387 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr()
DSemaCodeComplete.cpp192 if (ObjCInterfaceDecl *Interface = Method->getClassInterface()) in ResultBuilder()
2000 if (ObjCInterfaceDecl *ID = Method->getClassInterface()) in AddOrdinaryNameResults()
4934 Class = Category->getClassInterface(); in CodeCompleteObjCPropertyGetter()
4962 Class = Category->getClassInterface(); in CodeCompleteObjCPropertySetter()
5153 ObjCInterfaceDecl *Class = CurMethod->getClassInterface(); in AddSuperSendCompletion()
5269 if (ObjCInterfaceDecl *Iface = Method->getClassInterface()) in CodeCompleteObjCMessageReceiver()
5295 CDecl = CurMethod->getClassInterface(); in CodeCompleteObjCSuperMessage()
5571 if (ObjCInterfaceDecl *ClassDecl = CurMethod->getClassInterface()) in CodeCompleteObjCInstanceMessage()
5999 AddObjCProperties(ClassImpl->getClassInterface(), false, in CodeCompleteObjCPropertyDefinition()
6032 Class = ClassImpl->getClassInterface(); in CodeCompleteObjCPropertySynthesizeIvar()
[all …]
/external/clang/include/clang/AST/
DDeclObjC.h334 ObjCInterfaceDecl *getClassInterface();
335 const ObjCInterfaceDecl *getClassInterface() const { in getClassInterface() function
336 return const_cast<ObjCMethodDecl*>(this)->getClassInterface(); in getClassInterface()
1572 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function
1573 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function
1656 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function
1657 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function
1871 return getClassInterface()->getIdentifier(); in getIdentifier()
1942 const ObjCInterfaceDecl *getClassInterface() const { return AliasedClass; } in getClassInterface() function
1943 ObjCInterfaceDecl *getClassInterface() { return AliasedClass; } in getClassInterface() function
/external/clang/lib/CodeGen/
DCGObjCRuntime.cpp41 if (ID && declaresSameEntity(ID->getClassInterface(), Container)) in LookupFieldBitOffset()
74 return LookupFieldBitOffset(CGM, OID->getClassInterface(), OID, Ivar) / in ComputeIvarBaseOffset()
DCGObjCMac.cpp2938 const ObjCInterfaceDecl *Interface = OCD->getClassInterface(); in GenerateCategory()
3059 const_cast<ObjCInterfaceDecl*>(ID->getClassInterface()); in GenerateClass()
3071 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in GenerateClass()
3158 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in EmitMetaClass()
3163 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in EmitMetaClass()
3172 if (ObjCInterfaceDecl *Super = ID->getClassInterface()->getSuperClass()) { in EmitMetaClass()
3279 ID, ID->getClassInterface(), ObjCTypes); in EmitClassExtension()
3316 const ObjCInterfaceDecl *OID = ID->getClassInterface(); in EmitIvarList()
4837 const ObjCInterfaceDecl *OI = OMD->getClassInterface(); in BuildIvarLayout()
4874 OMD->getClassInterface()->getName().data()); in BuildIvarLayout()
[all …]
DCGObjC.cpp72 const ObjCInterfaceDecl *ClassDecl = BoxingMethod->getClassInterface(); in EmitObjCBoxedExpr()
375 OMD->getClassInterface(), in EmitObjCMessageExpr()
413 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in Emit()
479 StartObjCMethod(OMD, OMD->getClassInterface(), OMD->getLocStart()); in GenerateObjCMethod()
721 StartObjCMethod(OMD, IMP->getClassInterface(), OMD->getLocStart()); in GenerateObjCGetter()
858 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCGetterBody()
1144 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCSetterBody()
1246 StartObjCMethod(OMD, IMP->getClassInterface(), OMD->getLocStart()); in GenerateObjCSetter()
1290 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in emitCXXDestructMethod()
1323 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod()
[all …]
/external/clang/tools/libclang/
DCIndexUSRs.cpp302 const ObjCInterfaceDecl *ID = D->getClassInterface(); in VisitObjCMethodDecl()
327 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
349 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
DCIndexHigh.cpp86 if (ImplD->getClassInterface()) in getCanonical()
87 return getCanonical(ImplD->getClassInterface()); in getCanonical()
DIndexDecl.cpp148 const ObjCInterfaceDecl *Class = D->getClassInterface(); in VisitObjCImplementationDecl()
DIndexingContext.cpp509 const ObjCInterfaceDecl *IFaceD = D->getClassInterface(); in handleObjCCategory()
542 const ObjCInterfaceDecl *IFaceD = CatD->getClassInterface(); in handleObjCCategoryImpl()
810 return getEntityDecl(ImplD->getClassInterface()); in getEntityDecl()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp862 CDecl = CatDecl->getClassInterface(); in getIvarAccessString()
1378 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
1393 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
2678 ObjCInterfaceDecl *BoxingClass = BoxingMethod->getClassInterface(); in RewriteObjCBoxedExpr()
3311 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr()
3423 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr()
4180 ObjCInterfaceDecl *CDecl = OIMP->getClassInterface(); in RewriteImplementations()
4189 ObjCInterfaceDecl *CDecl = CIMP->getClassInterface(); in RewriteImplementations()
4621 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName()
7262 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface(); in RewriteObjCClassMetaData()
[all …]

12