Home
last modified time | relevance | path

Searched refs:getClassInterface (Results 1 – 25 of 55) 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.cpp91 const ObjCInterfaceDecl *ID = D->getClassInterface()->getSuperClass(); in isCheckableClass()
DDirectIvarAssignment.cpp120 const ObjCInterfaceDecl *InterD = D->getClassInterface(); in checkASTDecl()
DCheckObjCDealloc.cpp203 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkASTDecl()
532 cast<ObjCMethodDecl>(LCtx->getDecl())->getClassInterface()) in diagnoseMissingReleases()
823 DeclContext::lookup_result R = CatDecl->getClassInterface()->lookup(ID); in findShadowedPropertyDecl()
DObjCSelfInitChecker.cpp400 ObjCInterfaceDecl *ID = MD->getClassInterface()->getSuperClass(); in shouldRunOnFunctionOrMethod()
/external/clang/lib/AST/
DDeclObjC.cpp779 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface()
862 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclarationImpl()
887 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getCanonicalDecl()
1071 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface() function in ObjCMethodDecl
1075 return CD->getClassInterface(); in getClassInterface()
1077 return IMD->getClassInterface(); in getClassInterface()
1183 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
1196 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow()
1272 ClassDecl = Category->getClassInterface(); in findPropertyDecl()
1475 const_cast<ObjCImplementationDecl*>(this)->getClassInterface()) in getObjCRuntimeNameAsString()
[all …]
DDeclPrinter.cpp1202 Out << "@implementation " << *PID->getClassInterface() << '(' << *PID <<")\n"; in VisitObjCCategoryImplDecl()
1210 Out << "@interface " << *PID->getClassInterface(); in VisitObjCCategoryDecl()
1233 << ' ' << *AID->getClassInterface() << ";\n"; in VisitObjCCompatibleAliasDecl()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp85 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()
2022 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); in CheckImplementationIvars()
2598 ObjCInterfaceDecl *IDecl = C ? C->getClassInterface() in CheckProtocolMethodDefs()
2834 ObjCInterfaceDecl *IDecl = CatDecl->getClassInterface(); in CheckCategoryVsClassMethodMatches()
[all …]
DSemaObjCProperty.cpp400 OldContextName = Category->getClassInterface()->getIdentifier(); in checkAtomicPropertyMismatch()
426 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension()
875 auto OrigClass = Category->getClassInterface(); in hasWrittenStorageAttribute()
922 IDecl = IC->getClassInterface(); in ActOnPropertyImplDecl()
998 IDecl = CatImplClass->getClassInterface(); in ActOnPropertyImplDecl()
1380 declaresSameEntity(IC->getClassInterface(), ClassDeclared)) { in ActOnPropertyImplDecl()
1763 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties()
1822 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties()
1884 if ((PrimaryClass = C->getClassInterface())) in DiagnoseUnimplementedProperties()
2160 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl()
[all …]
DSemaExprMember.cpp1404 D = CAT->getClassInterface(); in LookupMemberExpr()
1438 ClassOfMethodDecl = MD->getClassInterface(); in LookupMemberExpr()
1448 ClassOfMethodDecl = IMPD->getClassInterface(); in LookupMemberExpr()
1451 ClassOfMethodDecl = CatImplClass->getClassInterface(); in LookupMemberExpr()
1583 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr()
DSemaExprObjC.cpp1317 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) { in getBaseMessageSendResultType()
1420 iface = impl->getClassInterface(); in findExplicitInstancetypeDeclarer()
1954 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr()
1960 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()
1975 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
2042 if (Method && Method->getClassInterface()) in ObjCInterfaceOrSuperCCC()
2043 WantObjCSuper = Method->getClassInterface()->getSuperClass(); in ObjCInterfaceOrSuperCCC()
2078 if (!Method->getClassInterface()) { in getObjCMessageKind()
2084 if (Method->getClassInterface()->lookupInstanceVariable(Name, in getObjCMessageKind()
2166 ObjCInterfaceDecl *Class = Method->getClassInterface(); in ActOnSuperMessage()
[all …]
DSemaCodeComplete.cpp191 if (ObjCInterfaceDecl *Interface = Method->getClassInterface()) in ResultBuilder()
2016 if (ObjCInterfaceDecl *ID = Method->getClassInterface()) in AddOrdinaryNameResults()
5133 Class = Category->getClassInterface(); in CodeCompleteObjCPropertyGetter()
5161 Class = Category->getClassInterface(); in CodeCompleteObjCPropertySetter()
5355 ObjCInterfaceDecl *Class = CurMethod->getClassInterface(); in AddSuperSendCompletion()
5469 if (ObjCInterfaceDecl *Iface = Method->getClassInterface()) in CodeCompleteObjCMessageReceiver()
5494 CDecl = CurMethod->getClassInterface(); in CodeCompleteObjCSuperMessage()
5771 if (ObjCInterfaceDecl *ClassDecl = CurMethod->getClassInterface()) in CodeCompleteObjCInstanceMessage()
6182 AddObjCProperties(CCContext, ClassImpl->getClassInterface(), false, in CodeCompleteObjCPropertyDefinition()
6216 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()
2214 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function
2215 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function
2325 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function
2326 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function
2563 return getClassInterface()->getIdentifier(); in getIdentifier()
2642 const ObjCInterfaceDecl *getClassInterface() const { return AliasedClass; } in getClassInterface() function
2643 ObjCInterfaceDecl *getClassInterface() { return AliasedClass; } in getClassInterface() function
/external/clang/lib/CodeGen/
DCGObjCMac.cpp1447 if (const ObjCInterfaceDecl *ID = MD->getClassInterface()) in IsIvarOffsetKnownIdempotent()
3093 const ObjCInterfaceDecl *Interface = OCD->getClassInterface(); in GenerateCategory()
3228 ID->getClassInterface()->all_declared_ivar_begin(); in hasMRCWeakIvars()
3262 const_cast<ObjCInterfaceDecl*>(ID->getClassInterface()); in GenerateClass()
3282 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in GenerateClass()
3362 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in EmitMetaClass()
3367 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in EmitMetaClass()
3376 if (ObjCInterfaceDecl *Super = ID->getClassInterface()->getSuperClass()) { in EmitMetaClass()
3488 ID, ID->getClassInterface(), ObjCTypes, true); in EmitClassExtension()
3491 ID, ID->getClassInterface(), ObjCTypes, false); in EmitClassExtension()
[all …]
DObjectFilePCHContainerOperations.cpp119 if (!D->getClassInterface()) in VisitObjCMethodDecl()
124 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl()
DCGObjCRuntime.cpp42 if (ID && declaresSameEntity(ID->getClassInterface(), Container)) in LookupFieldBitOffset()
75 return LookupFieldBitOffset(CGM, OID->getClassInterface(), OID, Ivar) / in ComputeIvarBaseOffset()
DCGObjC.cpp73 const ObjCInterfaceDecl *ClassDecl = BoxingMethod->getClassInterface(); in EmitObjCBoxedExpr()
456 OMD->getClassInterface(), in EmitObjCMessageExpr()
493 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in Emit()
559 StartObjCMethod(OMD, OMD->getClassInterface()); in GenerateObjCMethod()
802 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCGetter()
944 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCGetterBody()
1228 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCSetterBody()
1328 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCSetter()
1372 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in emitCXXDestructMethod()
1405 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod()
[all …]
/external/clang/lib/Index/
DIndexSymbol.cpp40 return isUnitTestCase(D->getClassInterface()); in isUnitTest()
125 ClsD = cast<ObjCImplementationDecl>(D)->getClassInterface(); in getSymbolInfo()
DUSRGeneration.cpp343 const ObjCInterfaceDecl *ID = D->getClassInterface(); in VisitObjCMethodDecl()
367 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
389 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp171 return canModify(Impl->getClassInterface()); in canModify()
843 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface(); in migrateProtocolConformance()
990 ObjCInterfaceDecl *IDecl = OM->getClassInterface(); in ReplaceWithClasstype()
1044 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType()
1046 IDecl = ImpDecl->getClassInterface(); in migrateMethodInstanceType()
1315 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod()
1317 IDecl = ImpDecl->getClassInterface(); in migrateFactoryMethod()
1711 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); in inferDesignatedInitializers()
DTransProperties.cpp93 ObjCInterfaceDecl *iface = D->getClassInterface(); in doTransform()
/external/clang/tools/libclang/
DCIndexHigh.cpp86 if (ImplD->getClassInterface()) in getCanonical()
87 return getCanonical(ImplD->getClassInterface()); in getCanonical()
/external/clang/lib/Analysis/
DBodyFarm.cpp406 PrimaryInterface = CategoryDecl->getClassInterface(); in findBackingIvar()
408 PrimaryInterface = ImplDecl->getClassInterface(); in findBackingIvar()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp860 CDecl = CatDecl->getClassInterface(); in getIvarAccessString()
1349 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
1360 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
2633 ObjCInterfaceDecl *BoxingClass = BoxingMethod->getClassInterface(); in RewriteObjCBoxedExpr()
3240 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr()
3338 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr()
4012 ObjCInterfaceDecl *CDecl = OIMP->getClassInterface(); in RewriteImplementations()
4021 ObjCInterfaceDecl *CDecl = CIMP->getClassInterface(); in RewriteImplementations()
4449 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName()
7014 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface(); in RewriteObjCClassMetaData()
[all …]

123