Home
last modified time | relevance | path

Searched refs:ObjCImplDecl (Results 1 – 25 of 37) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp106 ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(D->getDeclContext()); in TraverseObjCMethodDecl()
H A DTransGCAttrs.cpp152 return isa<ObjCImplDecl>(ContD); in hasObjCImpl()
H A DObjCMT.cpp1035 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 DCheckObjCDealloc.cpp161 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 DObjCPropertyChecker.cpp56 const ObjCImplDecl *ImplD = nullptr; in checkCopyMutable()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.h118 const ObjCImplDecl *getCorrespondingObjCImpl(const ObjCContainerDecl *D);
H A DAST.cpp362 const ObjCImplDecl *getCorrespondingObjCImpl(const ObjCContainerDecl *D) { in getCorrespondingObjCImpl()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp1181 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 DCIndexHigh.cpp84 if (const ObjCImplDecl *ImplD = dyn_cast<ObjCImplDecl>(D)) { in getCanonical()
H A DCursorVisitor.h236 bool VisitObjCImplDecl(ObjCImplDecl *D);
H A DCXIndexDataConsumer.cpp94 if (isa<ObjCImplDecl>(LexicalDC) && !D->isThisDeclarationADefinition()) in VisitObjCMethodDecl()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexingContext.cpp259 return MD->isThisDeclarationADefinition() || isa<ObjCImplDecl>(ContainerDC); in isDeclADefinition()
262 isa<FieldDecl>(D) || isa<MSPropertyDecl>(D) || isa<ObjCImplDecl>(D) || in isDeclADefinition()
H A DIndexDecl.cpp80 const ObjCImplDecl *Container) { in hasUserDefined()
540 auto *Container = cast<ObjCImplDecl>(D->getDeclContext()); in VisitObjCPropertyImplDecl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp154 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 DSemaAvailability.cpp139 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 DSemaObjCProperty.cpp1888 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 DSemaAccess.cpp1957 if (ObjCImplDecl *Impl in IsSimplyAccessible()
1958 = dyn_cast<ObjCImplDecl>(FD->getLexicalDeclContext())) { in IsSimplyAccessible()
H A DSemaExprObjC.cpp1186 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 DDeclObjC.h2421 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 DASTContext.h114 class ObjCImplDecl; variable
306 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp21 if (!isa<ObjCImplDecl>(D)) in getLexicalDeclRange()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DASTSelectionTest.cpp941 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 DBodyFarm.cpp765 } else if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) { in findBackingIvar()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp148 void VisitObjCImplDecl(ObjCImplDecl *D);
880 void ASTDeclWriter::VisitObjCImplDecl(ObjCImplDecl *D) { in VisitObjCImplDecl()
2392 if (isa<FileScopeAsmDecl>(D) || isa<ObjCImplDecl>(D)) in isRequiredDecl()
H A DASTReaderDecl.cpp446 void VisitObjCImplDecl(ObjCImplDecl *D);
1407 void ASTDeclReader::VisitObjCImplDecl(ObjCImplDecl *D) { in VisitObjCImplDecl()
2969 isa<ObjCImplDecl>(D) || in isConsumerInterestedIn()

12