Home
last modified time | relevance | path

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

123

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDCheckObjCInstMethSignature.cpp53 << *MethDerived->getClassInterface() in CompareReturnTypes()
55 << *MethAncestor->getClassInterface() in CompareReturnTypes()
62 << *MethAncestor->getClassInterface() in CompareReturnTypes()
82 const ObjCInterfaceDecl *D = ID->getClassInterface(); in CheckObjCInstMethSignature()
HDObjCUnusedIVarsChecker.cpp89 for (const auto *Cat : ID->getClassInterface()->visible_categories()) { in Scan()
110 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkObjCUnusedIvar()
HDObjCPropertyChecker.cpp61 ImplD = CatD->getClassInterface()->getImplementation(); in checkCopyMutable()
HDObjCMissingSuperCallChecker.cpp90 const ObjCInterfaceDecl *ID = D->getClassInterface()->getSuperClass(); in isCheckableClass()
HDDirectIvarAssignment.cpp119 const ObjCInterfaceDecl *InterD = D->getClassInterface(); in checkASTDecl()
HDCheckObjCDealloc.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()
HDDynamicTypePropagation.cpp333 dyn_cast<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl())) in getObjectTypeForAllocAndNew()
746 const ObjCInterfaceDecl *Interface = Method->getClassInterface(); in checkPreObjCMessage()
HDObjCSelfInitChecker.cpp399 ObjCInterfaceDecl *ID = MD->getClassInterface()->getSuperClass(); in shouldRunOnFunctionOrMethod()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaDeclObjC.cpp84 receiverClass = method->getClassInterface(); in checkInitMethod()
152 CurrentClass = Cat->getClassInterface(); in CheckObjCMethodOverride()
154 CurrentClass = Impl->getClassInterface(); in CheckObjCMethodOverride()
157 CurrentClass = CatImpl->getClassInterface(); in CheckObjCMethodOverride()
306 if (!CD->getClassInterface()->isDeprecated()) in DiagnoseObjCImplementedDeprecations()
308 ND = CD->getClassInterface(); in DiagnoseObjCImplementedDeprecations()
387 MDecl->createImplicitParams(Context, MDecl->getClassInterface()); in ActOnStartOfObjCMethodDef()
436 if (ObjCInterfaceDecl *IC = MDecl->getClassInterface()) { in ActOnStartOfObjCMethodDef()
450 if (ObjCInterfaceDecl *OID = CD->getClassInterface()) in ActOnStartOfObjCMethodDef()
2114 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); in CheckImplementationIvars()
[all …]
HDSemaObjCProperty.cpp403 OldContextName = Category->getClassInterface()->getIdentifier(); in checkAtomicPropertyMismatch()
432 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension()
1038 auto OrigClass = Category->getClassInterface(); in hasWrittenStorageAttribute()
1112 IDecl = IC->getClassInterface(); in ActOnPropertyImplDecl()
1189 IDecl = CatImplClass->getClassInterface(); in ActOnPropertyImplDecl()
1605 declaresSameEntity(IC->getClassInterface(), ClassDeclared)) { in ActOnPropertyImplDecl()
2000 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties()
2058 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties()
2120 if ((PrimaryClass = C->getClassInterface())) in DiagnoseUnimplementedProperties()
2406 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl()
[all …]
HDSemaExprMember.cpp1380 D = Category->getClassInterface(); in LookupMemberExpr()
1383 ClassDeclared = Implementation->getClassInterface(); in LookupMemberExpr()
1420 ClassOfMethodDecl = MD->getClassInterface(); in LookupMemberExpr()
1430 ClassOfMethodDecl = IMPD->getClassInterface(); in LookupMemberExpr()
1433 ClassOfMethodDecl = CatImplClass->getClassInterface(); in LookupMemberExpr()
1561 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr()
HDSemaExprObjC.cpp1379 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) { in getBaseMessageSendResultType()
1431 Context.getObjCInterfaceType(MD->getClassInterface())); in getMessageSendResultType()
1513 iface = impl->getClassInterface(); in findExplicitInstancetypeDeclarer()
2047 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr()
2053 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()
2068 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
2141 if (Method && Method->getClassInterface()) in ObjCInterfaceOrSuperCCC()
2142 WantObjCSuper = Method->getClassInterface()->getSuperClass(); in ObjCInterfaceOrSuperCCC()
2181 if (!Method->getClassInterface()) { in getObjCMessageKind()
2187 if (Method->getClassInterface()->lookupInstanceVariable(Name, in getObjCMessageKind()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
HDDeclObjC.cpp850 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface()
931 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclarationImpl()
962 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) { in getCanonicalDecl()
1155 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface() function in ObjCMethodDecl
1159 return CD->getClassInterface(); in getClassInterface()
1161 return IMD->getClassInterface(); in getClassInterface()
1265 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
1278 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow()
1324 Container = ImplDecl->getClassInterface(); in findPropertyDecl()
1359 ClassDecl = Category->getClassInterface(); in findPropertyDecl()
[all …]
HDTextNodeDumper.cpp1872 dumpDeclRef(D->getClassInterface()); in VisitObjCCategoryDecl()
1880 dumpDeclRef(D->getClassInterface()); in VisitObjCCategoryImplDecl()
1904 dumpDeclRef(D->getClassInterface()); in VisitObjCImplementationDecl()
1910 dumpDeclRef(D->getClassInterface()); in VisitObjCCompatibleAliasDecl()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
HDIndexSymbol.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()
HDIndexDecl.cpp432 const ObjCInterfaceDecl *Class = D->getClassInterface(); in VisitObjCImplementationDecl()
460 const ObjCInterfaceDecl *C = D->getClassInterface(); in VisitObjCCategoryDecl()
481 const ObjCInterfaceDecl *C = D->getClassInterface(); in VisitObjCCategoryImplDecl()
HDUSRGeneration.cpp393 const ObjCInterfaceDecl *ID = D->getClassInterface(); in VisitObjCMethodDecl()
428 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
452 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
HDDeclObjC.h317 ObjCInterfaceDecl *getClassInterface();
318 const ObjCInterfaceDecl *getClassInterface() const { in getClassInterface() function
319 return const_cast<ObjCMethodDecl*>(this)->getClassInterface(); in getClassInterface()
2339 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function
2340 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function
2454 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function
2455 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function
2679 return getClassInterface()->getIdentifier(); in getIdentifier()
2761 const ObjCInterfaceDecl *getClassInterface() const { return AliasedClass; } in getClassInterface() function
2762 ObjCInterfaceDecl *getClassInterface() { return AliasedClass; } in getClassInterface() function
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
HDBodyFarm.cpp720 PrimaryInterface = CategoryDecl->getClassInterface(); in findBackingIvar()
722 PrimaryInterface = ImplDecl->getClassInterface(); in findBackingIvar()
748 const ObjCInterfaceDecl *IntD = MD->getClassInterface(); in createObjCPropertyGetter()
850 const ObjCInterfaceDecl *OID = D->getClassInterface(); in getBody()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDObjectFilePCHContainerOperations.cpp116 if (!D->getClassInterface()) in VisitObjCMethodDecl()
121 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl()
HDCGObjCMac.cpp1596 if (const ObjCInterfaceDecl *ID = MD->getClassInterface()) in IsIvarOffsetKnownIdempotent()
2222 Fn = GenerateDirectMethod(Method, Method->getClassInterface()); in EmitMessageSend()
3389 const ObjCInterfaceDecl *Interface = OCD->getClassInterface(); in GenerateCategory()
3524 ID->getClassInterface()->all_declared_ivar_begin(); in hasMRCWeakIvars()
3560 const_cast<ObjCInterfaceDecl*>(ID->getClassInterface()); in GenerateClass()
3580 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in GenerateClass()
3660 if (ID->getClassInterface()->getVisibility() == HiddenVisibility) in EmitMetaClass()
3666 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in EmitMetaClass()
3674 if (ObjCInterfaceDecl *Super = ID->getClassInterface()->getSuperClass()) { in EmitMetaClass()
3782 ID, ID->getClassInterface(), ObjCTypes, isMetaclass); in EmitClassExtension()
[all …]
HDCGObjC.cpp78 const ObjCInterfaceDecl *ClassDecl = BoxingMethod->getClassInterface(); in EmitObjCBoxedExpr()
617 OMD->getClassInterface(), in EmitObjCMessageExpr()
654 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in Emit()
734 StartObjCMethod(OMD, OMD->getClassInterface()); in GenerateObjCMethod()
977 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCGetter()
1122 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCGetterBody()
1409 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCSetterBody()
1511 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCSetter()
1555 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in emitCXXDestructMethod()
1588 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
HDObjCMT.cpp182 return canModify(Impl->getClassInterface()); in canModify()
844 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface(); in migrateProtocolConformance()
991 ObjCInterfaceDecl *IDecl = OM->getClassInterface(); in ReplaceWithClasstype()
1045 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType()
1047 IDecl = ImpDecl->getClassInterface(); in migrateMethodInstanceType()
1316 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod()
1318 IDecl = ImpDecl->getClassInterface(); in migrateFactoryMethod()
1713 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); in inferDesignatedInitializers()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
HDAnalysisConsumer.cpp717 OS << OC->getClassInterface()->getName(); in getFunctionName()
723 OS << OCD->getClassInterface()->getName() << '(' in getFunctionName()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
HDRewriteModernObjC.cpp862 CDecl = CatDecl->getClassInterface(); in getIvarAccessString()
1352 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
1365 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
2635 ObjCInterfaceDecl *BoxingClass = BoxingMethod->getClassInterface(); in RewriteObjCBoxedExpr()
3234 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr()
3332 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr()
4007 ObjCInterfaceDecl *CDecl = OIMP->getClassInterface(); in RewriteImplementations()
4016 ObjCInterfaceDecl *CDecl = CIMP->getClassInterface(); in RewriteImplementations()
4444 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName()
7003 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface(); in RewriteObjCClassMetaData()
[all …]

123