| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | TransZeroOutPropsInDealloc.cpp | 106 ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(D->getDeclContext()); in TraverseObjCMethodDecl()
|
| H A D | TransGCAttrs.cpp | 152 return isa<ObjCImplDecl>(ContD); in hasObjCImpl()
|
| H A D | ObjCMT.cpp | 1035 else if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(CDecl)) in migrateMethodInstanceType() 1306 else if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(CDecl)) in migrateFactoryMethod()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckObjCDealloc.cpp | 161 const ObjCImplDecl *getContainingObjCImpl(const LocationContext *LCtx) const; 558 ObjCImplDecl *ImplDecl = Interface->getImplementation(); in diagnoseMissingReleases() 626 const ObjCImplDecl *Container = getContainingObjCImpl(LCtx); in findPropertyOnDeallocatingInstance() 683 const ObjCImplDecl *Container = getContainingObjCImpl(C.getLocationContext()); in diagnoseExtraRelease() 796 const ObjCImplDecl * 799 return cast<ObjCImplDecl>(MD->getDeclContext()); in getContainingObjCImpl()
|
| H A D | ObjCPropertyChecker.cpp | 56 const ObjCImplDecl *ImplD = nullptr; in checkCopyMutable()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | AST.h | 118 const ObjCImplDecl *getCorrespondingObjCImpl(const ObjCContainerDecl *D);
|
| H A D | AST.cpp | 362 const ObjCImplDecl *getCorrespondingObjCImpl(const ObjCContainerDecl *D) { in getCorrespondingObjCImpl()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 1181 if (auto *IMD = dyn_cast<ObjCImplDecl>(getDeclContext())) in getClassInterface() 1293 dyn_cast<ObjCImplDecl>(Method->getDeclContext())) { in collectOverriddenMethodsSlow() 1352 if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) in findPropertyDecl() 2148 void ObjCImplDecl::anchor() {} in anchor() 2150 void ObjCImplDecl::addPropertyImplementation(ObjCPropertyImplDecl *property) { in addPropertyImplementation() 2156 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) { in setClassInterface() 2174 ObjCPropertyImplDecl *ObjCImplDecl:: 2186 ObjCPropertyImplDecl *ObjCImplDecl::
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndexHigh.cpp | 84 if (const ObjCImplDecl *ImplD = dyn_cast<ObjCImplDecl>(D)) { in getCanonical()
|
| H A D | CursorVisitor.h | 236 bool VisitObjCImplDecl(ObjCImplDecl *D);
|
| H A D | CXIndexDataConsumer.cpp | 94 if (isa<ObjCImplDecl>(LexicalDC) && !D->isThisDeclarationADefinition()) in VisitObjCMethodDecl()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexingContext.cpp | 259 return MD->isThisDeclarationADefinition() || isa<ObjCImplDecl>(ContainerDC); in isDeclADefinition() 262 isa<FieldDecl>(D) || isa<MSPropertyDecl>(D) || isa<ObjCImplDecl>(D) || in isDeclADefinition()
|
| H A D | IndexDecl.cpp | 80 const ObjCImplDecl *Container) { in hasUserDefined() 540 auto *Container = cast<ObjCImplDecl>(D->getDeclContext()); in VisitObjCPropertyImplDecl()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 154 else if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(DC)) in CheckObjCMethodOverride() 442 ObjCImplDecl *ImplDeclOfMethodDef = in ActOnStartOfObjCMethodDef() 443 dyn_cast<ObjCImplDecl>(MDecl->getDeclContext()); in ActOnStartOfObjCMethodDef() 446 ObjCImplDecl *ImplDeclOfMethodDecl = nullptr; in ActOnStartOfObjCMethodDef() 2220 static void WarnUndefinedMethod(Sema &S, ObjCImplDecl *Impl, in WarnUndefinedMethod() 2825 ObjCImplDecl* IMPDecl, in MatchAllMethodDeclarations() 2973 void Sema::ImplMethodsVsClassMethods(Scope *S, ObjCImplDecl* IMPDecl, in ImplMethodsVsClassMethods() 4450 } else if (isa<ObjCImplDecl>(ObjCMethod->getDeclContext())) { in CheckObjCMethodOverrides() 4663 ObjCImplDecl *ImpDecl = nullptr) { in checkObjCDirectMethodClashes() 4831 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) { in ActOnMethodDeclaration() [all …]
|
| H A D | SemaAvailability.cpp | 139 if (const auto *Impl = dyn_cast<ObjCImplDecl>(C)) { in ShouldDiagnoseAvailabilityInContext() 162 if (const auto *CatOrImpl = dyn_cast<ObjCImplDecl>(Ctx)) { in ShouldDiagnoseAvailabilityInContext() 209 if (auto *Imp = dyn_cast<ObjCImplDecl>(Ctx)) in findEnclosingDeclToAnnotate()
|
| H A D | SemaObjCProperty.cpp | 1888 void Sema::DefaultSynthesizeProperties(Scope *S, ObjCImplDecl *IMPDecl, in DefaultSynthesizeProperties() 1997 ObjCImplDecl *IMPDecl, ObjCContainerDecl *CDecl, ObjCCategoryDecl *C, in DiagnoseUnimplementedAccessor() 2032 void Sema::DiagnoseUnimplementedProperties(Scope *S, ObjCImplDecl* IMPDecl, in DiagnoseUnimplementedProperties() 2112 if (ObjCImplDecl *IMP = PrimaryClass->getImplementation()) { in DiagnoseUnimplementedProperties() 2140 void Sema::diagnoseNullResettableSynthesizedSetters(const ObjCImplDecl *impDecl) { in diagnoseNullResettableSynthesizedSetters() 2166 Sema::AtomicPropertySetterGetterRules (ObjCImplDecl* IMPDecl, in AtomicPropertySetterGetterRules() 2630 else if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(CD)) in ProcessPropertyDecl()
|
| H A D | SemaAccess.cpp | 1957 if (ObjCImplDecl *Impl in IsSimplyAccessible() 1958 = dyn_cast<ObjCImplDecl>(FD->getLexicalDeclContext())) { in IsSimplyAccessible()
|
| H A D | SemaExprObjC.cpp | 1186 isa<ObjCImplDecl>(MatchingMethodDecl->getDeclContext()) || in HelperToDiagnoseMismatchedMethodsInGlobalPool() 1631 if (const ObjCImplDecl *impl = in findExplicitInstancetypeDeclarer() 1632 dyn_cast<ObjCImplDecl>(MD->getDeclContext())) { in findExplicitInstancetypeDeclarer()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 2421 class ObjCImplDecl : public ObjCContainerDecl { 2428 ObjCImplDecl(Kind DK, DeclContext *DC, in ObjCImplDecl() function 2495 class ObjCCategoryImplDecl : public ObjCImplDecl { 2503 : ObjCImplDecl(ObjCCategoryImpl, DC, classInterface, Id, in ObjCCategoryImplDecl() 2548 class ObjCImplementationDecl : public ObjCImplDecl { 2576 : ObjCImplDecl(ObjCImplementation, DC, classInterface,
|
| H A D | ASTContext.h | 114 class ObjCImplDecl; variable 306 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 21 if (!isa<ObjCImplDecl>(D)) in getLexicalDeclRange()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | ASTSelectionTest.cpp | 941 EXPECT_TRUE(isa<ObjCImplDecl>(Parents[1].get().Node.get<Decl>())); in TEST() 965 EXPECT_TRUE(isa<ObjCImplDecl>(Parents[1].get().Node.get<Decl>())); in TEST()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 765 } else if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) { in findBackingIvar()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 148 void VisitObjCImplDecl(ObjCImplDecl *D); 880 void ASTDeclWriter::VisitObjCImplDecl(ObjCImplDecl *D) { in VisitObjCImplDecl() 2392 if (isa<FileScopeAsmDecl>(D) || isa<ObjCImplDecl>(D)) in isRequiredDecl()
|
| H A D | ASTReaderDecl.cpp | 446 void VisitObjCImplDecl(ObjCImplDecl *D); 1407 void ASTDeclReader::VisitObjCImplDecl(ObjCImplDecl *D) { in VisitObjCImplDecl() 2969 isa<ObjCImplDecl>(D) || in isConsumerInterestedIn()
|