| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckObjCInstMethSignature.cpp | 54 << *MethDerived->getClassInterface() in CompareReturnTypes() 56 << *MethAncestor->getClassInterface() in CompareReturnTypes() 63 << *MethAncestor->getClassInterface() in CompareReturnTypes() 83 const ObjCInterfaceDecl *D = ID->getClassInterface(); in CheckObjCInstMethSignature()
|
| H A D | ObjCUnusedIVarsChecker.cpp | 90 for (const auto *Cat : ID->getClassInterface()->visible_categories()) { in Scan() 111 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkObjCUnusedIvar()
|
| H A D | ObjCPropertyChecker.cpp | 62 ImplD = CatD->getClassInterface()->getImplementation(); in checkCopyMutable()
|
| H A D | ObjCMissingSuperCallChecker.cpp | 91 const ObjCInterfaceDecl *ID = D->getClassInterface()->getSuperClass(); in isCheckableClass()
|
| H A D | DirectIvarAssignment.cpp | 120 const ObjCInterfaceDecl *InterD = D->getClassInterface(); in checkASTDecl()
|
| H A D | CheckObjCDealloc.cpp | 197 const ObjCInterfaceDecl *ID = D->getClassInterface(); in REGISTER_SET_FACTORY_WITH_PROGRAMSTATE() 526 cast<ObjCMethodDecl>(LCtx->getDecl())->getClassInterface()) in diagnoseMissingReleases() 821 DeclContext::lookup_result R = CatDecl->getClassInterface()->lookup(ID); in findShadowedPropertyDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 847 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface() 958 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getCanonicalDecl() 1144 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface() function in ObjCMethodDecl 1148 return CD->getClassInterface(); in getClassInterface() 1150 return IMD->getClassInterface(); in getClassInterface() 1254 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow() 1267 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow() 1343 ClassDecl = Category->getClassInterface(); in findPropertyDecl() 1773 ID = IM->getClassInterface(); in Create() 1803 return CD->getClassInterface(); in getContainingInterface() [all …]
|
| H A D | Mangle.cpp | 266 OS << CID->getClassInterface()->getName(); in mangleObjCMethodNameWithoutSize()
|
| H A D | ASTDumper.cpp | 1275 NodeDumper.dumpDeclRef(D->getClassInterface()); in VisitObjCCategoryDecl() 1286 NodeDumper.dumpDeclRef(D->getClassInterface()); in VisitObjCCategoryImplDecl() 1310 NodeDumper.dumpDeclRef(D->getClassInterface()); in VisitObjCImplementationDecl() 1319 NodeDumper.dumpDeclRef(D->getClassInterface()); in VisitObjCCompatibleAliasDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 85 receiverClass = method->getClassInterface(); in checkInitMethod() 153 CurrentClass = Cat->getClassInterface(); in CheckObjCMethodOverride() 155 CurrentClass = Impl->getClassInterface(); in CheckObjCMethodOverride() 158 CurrentClass = CatImpl->getClassInterface(); in CheckObjCMethodOverride() 307 if (!CD->getClassInterface()->isDeprecated()) in DiagnoseObjCImplementedDeprecations() 309 ND = CD->getClassInterface(); in DiagnoseObjCImplementedDeprecations() 3265 MethodInList->getClassInterface(); in isMethodContextSameForKindofLookup() 3802 IntfDecl = ImplDecl->getClassInterface(); in DiagnoseVariableSizedIvars() 4704 CurrentClass = Cat->getClassInterface(); in ActOnMethodDeclaration() 4706 CurrentClass = Impl->getClassInterface(); in ActOnMethodDeclaration() [all …]
|
| H A D | SemaObjCProperty.cpp | 431 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension() 1025 auto OrigClass = Category->getClassInterface(); in hasWrittenStorageAttribute() 1072 IDecl = IC->getClassInterface(); in ActOnPropertyImplDecl() 1149 IDecl = CatImplClass->getClassInterface(); in ActOnPropertyImplDecl() 1934 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties() 1993 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties() 2055 if ((PrimaryClass = C->getClassInterface())) in DiagnoseUnimplementedProperties() 2333 CatDecl->getClassInterface()-> in ProcessPropertyDecl() 2344 CatDecl->getClassInterface()-> in ProcessPropertyDecl() 2521 CurrentClass = Cat->getClassInterface(); in ProcessPropertyDecl() [all …]
|
| H A D | SemaExprMember.cpp | 1351 D = Category->getClassInterface(); in LookupMemberExpr() 1354 ClassDeclared = Implementation->getClassInterface(); in LookupMemberExpr() 1391 ClassOfMethodDecl = MD->getClassInterface(); in LookupMemberExpr() 1401 ClassOfMethodDecl = IMPD->getClassInterface(); in LookupMemberExpr() 1404 ClassOfMethodDecl = CatImplClass->getClassInterface(); in LookupMemberExpr() 1532 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr()
|
| H A D | SemaExprObjC.cpp | 1326 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) { in getBaseMessageSendResultType() 1378 Context.getObjCInterfaceType(MD->getClassInterface())); in getMessageSendResultType() 1460 iface = impl->getClassInterface(); in findExplicitInstancetypeDeclarer() 1996 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr() 2002 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr() 2017 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr() 2090 if (Method && Method->getClassInterface()) in ObjCInterfaceOrSuperCCC() 2091 WantObjCSuper = Method->getClassInterface()->getSuperClass(); in ObjCInterfaceOrSuperCCC() 2126 if (!Method->getClassInterface()) { in getObjCMessageKind() 2132 if (Method->getClassInterface()->lookupInstanceVariable(Name, in getObjCMessageKind() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Index/ |
| H A D | IndexSymbol.cpp | 41 return isUnitTestCase(D->getClassInterface()); in isUnitTest() 190 ClsD = cast<ObjCImplementationDecl>(D)->getClassInterface(); in getSymbolInfo() 205 ClsD = CatD->getClassInterface(); in getSymbolInfo() 207 ClsD = cast<ObjCCategoryImplDecl>(D)->getClassInterface(); in getSymbolInfo()
|
| H A D | IndexDecl.cpp | 427 const ObjCInterfaceDecl *Class = D->getClassInterface(); in VisitObjCImplementationDecl() 455 const ObjCInterfaceDecl *C = D->getClassInterface(); in VisitObjCCategoryDecl() 476 const ObjCInterfaceDecl *C = D->getClassInterface(); in VisitObjCCategoryImplDecl()
|
| H A D | USRGeneration.cpp | 388 const ObjCInterfaceDecl *ID = D->getClassInterface(); in VisitObjCMethodDecl() 423 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl() 447 const ObjCInterfaceDecl *ID = CD->getClassInterface(); in VisitObjCContainerDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 316 ObjCInterfaceDecl *getClassInterface(); 317 const ObjCInterfaceDecl *getClassInterface() const { in getClassInterface() function 318 return const_cast<ObjCMethodDecl*>(this)->getClassInterface(); in getClassInterface() 2325 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function 2326 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function 2440 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function 2441 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function 2665 return getClassInterface()->getIdentifier(); in getIdentifier() 2747 const ObjCInterfaceDecl *getClassInterface() const { return AliasedClass; } in getClassInterface() function 2748 ObjCInterfaceDecl *getClassInterface() { return AliasedClass; } in getClassInterface() function
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 117 if (!D->getClassInterface()) in VisitObjCMethodDecl() 122 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl()
|
| H A D | CGObjC.cpp | 73 const ObjCInterfaceDecl *ClassDecl = BoxingMethod->getClassInterface(); in EmitObjCBoxedExpr() 545 OMD->getClassInterface(), in EmitObjCMessageExpr() 589 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in Emit() 655 StartObjCMethod(OMD, OMD->getClassInterface()); in GenerateObjCMethod() 899 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCGetter() 1044 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCGetterBody() 1333 EmitIvarOffset(classImpl->getClassInterface(), ivar); in generateObjCSetterBody() 1436 StartObjCMethod(OMD, IMP->getClassInterface()); in GenerateObjCSetter() 1480 const ObjCInterfaceDecl *iface = impl->getClassInterface(); in emitCXXDestructMethod() 1513 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod() [all …]
|
| H A D | CGObjCMac.cpp | 3430 ID->getClassInterface()->all_declared_ivar_begin(); in hasMRCWeakIvars() 3466 const_cast<ObjCInterfaceDecl*>(ID->getClassInterface()); in GenerateClass() 3571 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in EmitMetaClass() 3730 const ObjCInterfaceDecl *OID = ID->getClassInterface(); in EmitIvarList() 5360 const ObjCInterfaceDecl *OI = OMD->getClassInterface(); in BuildIvarLayout() 6177 const ObjCInterfaceDecl *OID = ID->getClassInterface(); in BuildClassRoTInitializer() 6189 ID, ID->getClassInterface(), ObjCTypes, true)); in BuildClassRoTInitializer() 6195 ID, ID->getClassInterface(), ObjCTypes, false)); in BuildClassRoTInitializer() 6326 const auto *CI = ID->getClassInterface(); in GenerateClass() 6352 const ObjCInterfaceDecl *Root = ID->getClassInterface(); in GenerateClass() [all …]
|
| H A D | CGObjCGNU.cpp | 1624 const_cast<ObjCInterfaceDecl *>(OID->getClassInterface()); in GenerateClass() 1688 OID->getClassInterface()->getSuperClass(); in GenerateClass() 1849 if (OID->getClassInterface()->hasAttr<DLLImportAttr>()) in GenerateClass() 1851 else if (OID->getClassInterface()->hasAttr<DLLExportAttr>()) in GenerateClass() 3127 const ObjCInterfaceDecl *Class = OCD->getClassInterface(); in GenerateCategory() 3268 const_cast<ObjCInterfaceDecl *>(OAD->getClassInterface()); in RegisterAlias() 3278 OID->getClassInterface()->getSuperClass(); in GenerateClass() 3287 const_cast<ObjCInterfaceDecl *>(OID->getClassInterface()); in GenerateClass() 3474 OID->getClassInterface()); in GenerateClass() 3483 OID->getClassInterface()); in GenerateClass()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 171 return canModify(Impl->getClassInterface()); in canModify() 833 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface(); in migrateProtocolConformance() 980 ObjCInterfaceDecl *IDecl = OM->getClassInterface(); in ReplaceWithClasstype() 1034 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType() 1036 IDecl = ImpDecl->getClassInterface(); in migrateMethodInstanceType() 1305 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod() 1307 IDecl = ImpDecl->getClassInterface(); in migrateFactoryMethod() 1705 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); in inferDesignatedInitializers()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | AnalysisConsumer.cpp | 643 OS << OC->getClassInterface()->getName(); in getFunctionName() 649 OS << OCD->getClassInterface()->getName() << '(' in getFunctionName()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 723 PrimaryInterface = CategoryDecl->getClassInterface(); in findBackingIvar() 725 PrimaryInterface = ImplDecl->getClassInterface(); in findBackingIvar()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 864 CDecl = CatDecl->getClassInterface(); in getIvarAccessString() 1352 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl() 1363 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl() 4007 ObjCInterfaceDecl *CDecl = OIMP->getClassInterface(); in RewriteImplementations() 4016 ObjCInterfaceDecl *CDecl = CIMP->getClassInterface(); in RewriteImplementations() 4444 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName() 7006 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface(); in RewriteObjCClassMetaData() 7170 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface(); in RewriteClassSetupInitHook() 7269 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface(); in RewriteObjCCategoryImplDecl() 7353 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface(); in RewriteCategorySetupInitHook() [all …]
|