/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckObjCInstMethSignature.cpp | 53 << *MethDerived->getClassInterface() in CompareReturnTypes() 55 << *MethAncestor->getClassInterface() in CompareReturnTypes() 62 << *MethAncestor->getClassInterface() in CompareReturnTypes() 82 const ObjCInterfaceDecl *D = ID->getClassInterface(); in CheckObjCInstMethSignature()
|
D | ObjCUnusedIVarsChecker.cpp | 89 for (const auto *Cat : ID->getClassInterface()->visible_categories()) { in Scan() 110 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkObjCUnusedIvar()
|
D | ObjCPropertyChecker.cpp | 61 ImplD = CatD->getClassInterface()->getImplementation(); in checkCopyMutable()
|
D | ObjCMissingSuperCallChecker.cpp | 90 const ObjCInterfaceDecl *ID = D->getClassInterface()->getSuperClass(); in isCheckableClass()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
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()
|
D | ObjCUnusedIVarsChecker.cpp | 90 for (const auto *Cat : ID->getClassInterface()->visible_categories()) { in Scan() 111 const ObjCInterfaceDecl *ID = D->getClassInterface(); in checkObjCUnusedIvar()
|
D | ObjCMissingSuperCallChecker.cpp | 91 const ObjCInterfaceDecl *ID = D->getClassInterface()->getSuperClass(); in isCheckableClass()
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 779 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 …]
|
/external/llvm-project/clang/lib/AST/ |
D | DeclObjC.cpp | 852 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface() 933 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclarationImpl() 965 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) { in getCanonicalDecl() 1159 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface() function in ObjCMethodDecl 1163 return CD->getClassInterface(); in getClassInterface() 1165 return IMD->getClassInterface(); in getClassInterface() 1277 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow() 1290 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow() 1337 Container = ImplDecl->getClassInterface(); in findPropertyDecl() 1372 ClassDecl = Category->getClassInterface(); in findPropertyDecl() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
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() 388 MDecl->createImplicitParams(Context, MDecl->getClassInterface()); in ActOnStartOfObjCMethodDef() 437 if (ObjCInterfaceDecl *IC = MDecl->getClassInterface()) { in ActOnStartOfObjCMethodDef() 451 if (ObjCInterfaceDecl *OID = CD->getClassInterface()) in ActOnStartOfObjCMethodDef() 2119 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); in CheckImplementationIvars() [all …]
|
D | SemaObjCProperty.cpp | 401 OldContextName = Category->getClassInterface()->getIdentifier(); in checkAtomicPropertyMismatch() 430 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension() 1037 auto OrigClass = Category->getClassInterface(); in hasWrittenStorageAttribute() 1111 IDecl = IC->getClassInterface(); in ActOnPropertyImplDecl() 1186 IDecl = CatImplClass->getClassInterface(); in ActOnPropertyImplDecl() 1599 declaresSameEntity(IC->getClassInterface(), ClassDeclared)) { in ActOnPropertyImplDecl() 1999 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties() 2057 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties() 2119 if ((PrimaryClass = C->getClassInterface())) in DiagnoseUnimplementedProperties() 2403 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl() [all …]
|
D | SemaAvailability.cpp | 140 if (MD->getClassInterface() == Impl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 163 if (const ObjCInterfaceDecl *Interface = CatOrImpl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 169 if (const ObjCInterfaceDecl *Interface = CatD->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 210 return Imp->getClassInterface(); in findEnclosingDeclToAnnotate()
|
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 85 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 …]
|
D | SemaObjCProperty.cpp | 400 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 …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/objc/ |
D | MissingHashCheck.cpp | 23 const ObjCInterfaceDecl *InterfaceDecl = Node.getClassInterface(); in AST_MATCHER_P()
|
D | SuperSelfCheck.cpp | 55 const ObjCInterfaceDecl *InterfaceDecl = Node.getClassInterface(); in AST_MATCHER_P()
|
/external/llvm-project/clang/lib/Index/ |
D | IndexSymbol.cpp | 41 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()
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 323 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/llvm-project/clang/include/clang/AST/ |
D | DeclObjC.h | 318 ObjCInterfaceDecl *getClassInterface(); 319 const ObjCInterfaceDecl *getClassInterface() const { in getClassInterface() function 320 return const_cast<ObjCMethodDecl*>(this)->getClassInterface(); in getClassInterface() 2331 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function 2332 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function 2446 const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; } in getClassInterface() function 2447 ObjCInterfaceDecl *getClassInterface() { return ClassInterface; } in getClassInterface() function 2671 return getClassInterface()->getIdentifier(); in getIdentifier() 2751 const ObjCInterfaceDecl *getClassInterface() const { return AliasedClass; } in getClassInterface() function 2752 ObjCInterfaceDecl *getClassInterface() { return AliasedClass; } in getClassInterface() function
|
/external/clang/lib/CodeGen/ |
D | CGObjCMac.cpp | 1447 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 …]
|
D | ObjectFilePCHContainerOperations.cpp | 119 if (!D->getClassInterface()) in VisitObjCMethodDecl() 124 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl()
|
D | CGObjCRuntime.cpp | 42 if (ID && declaresSameEntity(ID->getClassInterface(), Container)) in LookupFieldBitOffset() 75 return LookupFieldBitOffset(CGM, OID->getClassInterface(), OID, Ivar) / in ComputeIvarBaseOffset()
|
/external/llvm-project/clang/lib/Analysis/ |
D | BodyFarm.cpp | 724 PrimaryInterface = CategoryDecl->getClassInterface(); in findBackingIvar() 726 PrimaryInterface = ImplDecl->getClassInterface(); in findBackingIvar() 752 const ObjCInterfaceDecl *IntD = MD->getClassInterface(); in createObjCPropertyGetter() 854 const ObjCInterfaceDecl *OID = D->getClassInterface(); in getBody()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | ObjectFilePCHContainerOperations.cpp | 116 if (!D->getClassInterface()) in VisitObjCMethodDecl() 121 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl()
|
/external/clang/lib/Index/ |
D | IndexSymbol.cpp | 40 return isUnitTestCase(D->getClassInterface()); in isUnitTest() 125 ClsD = cast<ObjCImplementationDecl>(D)->getClassInterface(); in getSymbolInfo()
|