Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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.cpp1036 else if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(CDecl)) in migrateMethodInstanceType()
1307 else if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(CDecl)) in migrateFactoryMethod()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp1165 if (auto *IMD = dyn_cast<ObjCImplDecl>(getDeclContext())) in getClassInterface()
1277 dyn_cast<ObjCImplDecl>(Method->getDeclContext())) { in collectOverriddenMethodsSlow()
1336 if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) in findPropertyDecl()
2127 void ObjCImplDecl::anchor() {} in anchor()
2129 void ObjCImplDecl::addPropertyImplementation(ObjCPropertyImplDecl *property) { in addPropertyImplementation()
2135 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) { in setClassInterface()
2153 ObjCPropertyImplDecl *ObjCImplDecl::
2165 ObjCPropertyImplDecl *ObjCImplDecl::
H A DASTContext.cpp461 if (const auto *IMD = dyn_cast<ObjCImplDecl>(DC)) { in addRedeclaredMethods()
2816 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*>::iterator in getObjCImplementation()
2826 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*>::iterator in getObjCImplementation()
2864 if (const auto *IMD = dyn_cast<ObjCImplDecl>(ND->getDeclContext())) in getObjContainingInterface()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.cpp260 return MD->isThisDeclarationADefinition() || isa<ObjCImplDecl>(ContainerDC); in isDeclADefinition()
266 isa<ObjCImplDecl>(D) || in isDeclADefinition()
H A DIndexDecl.cpp76 const ObjCImplDecl *Container) { in hasUserDefined()
525 auto *Container = cast<ObjCImplDecl>(D->getDeclContext()); in VisitObjCPropertyImplDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h2409 class ObjCImplDecl : public ObjCContainerDecl {
2416 ObjCImplDecl(Kind DK, DeclContext *DC, in ObjCImplDecl() function
2483 class ObjCCategoryImplDecl : public ObjCImplDecl {
2491 : ObjCImplDecl(ObjCCategoryImpl, DC, classInterface, Id, in ObjCCategoryImplDecl()
2536 class ObjCImplementationDecl : public ObjCImplDecl {
2564 : ObjCImplDecl(ObjCImplementation, DC, classInterface,
H A DASTContext.h116 class ObjCImplDecl; variable
283 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
H A DDeclBase.h58 class ObjCImplDecl; variable
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
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 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()
2818 ObjCImplDecl* IMPDecl, in MatchAllMethodDeclarations()
2966 void Sema::ImplMethodsVsClassMethods(Scope *S, ObjCImplDecl* IMPDecl, in ImplMethodsVsClassMethods()
4442 } else if (isa<ObjCImplDecl>(ObjCMethod->getDeclContext())) { in CheckObjCMethodOverrides()
4655 ObjCImplDecl *ImpDecl = nullptr) { in checkObjCDirectMethodClashes()
4823 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) { in ActOnMethodDeclaration()
4986 else if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(ClassDecl)) in ActOnMethodDeclaration()
H A DSemaAccess.cpp1938 if (ObjCImplDecl *Impl in IsSimplyAccessible()
1939 = 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()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp21 if (!isa<ObjCImplDecl>(D)) in getLexicalDeclRange()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp725 } else if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) { in findBackingIvar()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp147 void VisitObjCImplDecl(ObjCImplDecl *D);
876 void ASTDeclWriter::VisitObjCImplDecl(ObjCImplDecl *D) { in VisitObjCImplDecl()
2397 if (isa<FileScopeAsmDecl>(D) || isa<ObjCImplDecl>(D)) in isRequiredDecl()
H A DASTReaderDecl.cpp444 void VisitObjCImplDecl(ObjCImplDecl *D);
1314 void ASTDeclReader::VisitObjCImplDecl(ObjCImplDecl *D) { in VisitObjCImplDecl()
2860 isa<ObjCImplDecl>(D) || in isConsumerInterestedIn()
H A DASTReader.cpp7703 static void PassObjCImplDeclToConsumer(ObjCImplDecl *ImplD, in PassObjCImplDeclToConsumer()
7714 if (ObjCImplDecl *ImplD = dyn_cast<ObjCImplDecl>(D)) in PassInterestingDeclToConsumer()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h158 class ObjCImplDecl; variable
4374 void ImplMethodsVsClassMethods(Scope *S, ObjCImplDecl* IMPDecl,
4380 void DiagnoseUnimplementedProperties(Scope *S, ObjCImplDecl* IMPDecl,
4385 void diagnoseNullResettableSynthesizedSetters(const ObjCImplDecl *impDecl);
4389 void DefaultSynthesizeProperties(Scope *S, ObjCImplDecl *IMPDecl,
4450 void AtomicPropertySetterGetterRules(ObjCImplDecl* IMPDecl,
4478 ObjCImplDecl* IMPDecl,
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp724 const ObjCImplDecl *impl = cast<ObjCImplDecl>(method->getDeclContext()); in Emit()
H A DCGObjCMac.cpp1565 bool ImplementationIsNonLazy(const ObjCImplDecl *OD) const;
6496 const ObjCImplDecl *OD) const { in ImplementationIsNonLazy()

12