Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp167 const ObjCImplDecl *getContainingObjCImpl(const LocationContext *LCtx) const;
566 ObjCImplDecl *ImplDecl = Interface->getImplementation(); in diagnoseMissingReleases()
634 const ObjCImplDecl *Container = getContainingObjCImpl(LCtx); in findPropertyOnDeallocatingInstance()
691 const ObjCImplDecl *Container = getContainingObjCImpl(C.getLocationContext()); in diagnoseExtraRelease()
787 const ObjCImplDecl *
790 return cast<ObjCImplDecl>(MD->getDeclContext()); in getContainingObjCImpl()
H A DObjCPropertyChecker.cpp56 const ObjCImplDecl *ImplD = nullptr; in checkCopyMutable()
/freebsd-14.2/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.cpp1032 else if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(CDecl)) in migrateMethodInstanceType()
1303 else if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(CDecl)) in migrateFactoryMethod()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp1216 if (auto *IMD = dyn_cast<ObjCImplDecl>(getDeclContext())) in getClassInterface()
1328 dyn_cast<ObjCImplDecl>(Method->getDeclContext())) { in collectOverriddenMethodsSlow()
1387 if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) in findPropertyDecl()
2220 void ObjCImplDecl::anchor() {} in anchor()
2222 void ObjCImplDecl::addPropertyImplementation(ObjCPropertyImplDecl *property) { in addPropertyImplementation()
2228 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) { in setClassInterface()
2246 ObjCPropertyImplDecl *ObjCImplDecl::
2258 ObjCPropertyImplDecl *ObjCImplDecl::
H A DASTContext.cpp481 if (const auto *IMD = dyn_cast<ObjCImplDecl>(DC)) { in addRedeclaredMethods()
2869 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*>::iterator in getObjCImplementation()
2879 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*>::iterator in getObjCImplementation()
2917 if (const auto *IMD = dyn_cast<ObjCImplDecl>(ND->getDeclContext())) in getObjContainingInterface()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.cpp258 return MD->isThisDeclarationADefinition() || isa<ObjCImplDecl>(ContainerDC); in isDeclADefinition()
261 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()
/freebsd-14.2/contrib/llvm-project/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()
2234 static void WarnUndefinedMethod(Sema &S, ObjCImplDecl *Impl, in WarnUndefinedMethod()
2832 ObjCImplDecl* IMPDecl, in MatchAllMethodDeclarations()
2980 void Sema::ImplMethodsVsClassMethods(Scope *S, ObjCImplDecl* IMPDecl, in ImplMethodsVsClassMethods()
4461 } else if (isa<ObjCImplDecl>(ObjCMethod->getDeclContext())) { in CheckObjCMethodOverrides()
4674 ObjCImplDecl *ImpDecl = nullptr) { in checkObjCDirectMethodClashes()
4843 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) { in ActOnMethodDeclaration()
[all …]
H A DSemaAvailability.cpp152 if (const auto *Impl = dyn_cast<ObjCImplDecl>(C)) { in ShouldDiagnoseAvailabilityInContext()
175 if (const auto *CatOrImpl = dyn_cast<ObjCImplDecl>(Ctx)) { in ShouldDiagnoseAvailabilityInContext()
225 if (auto *Imp = dyn_cast<ObjCImplDecl>(Ctx)) in findEnclosingDeclToAnnotate()
H A DSemaObjCProperty.cpp1886 void Sema::DefaultSynthesizeProperties(Scope *S, ObjCImplDecl *IMPDecl, in DefaultSynthesizeProperties()
1994 ObjCImplDecl *IMPDecl, ObjCContainerDecl *CDecl, ObjCCategoryDecl *C, in DiagnoseUnimplementedAccessor()
2029 void Sema::DiagnoseUnimplementedProperties(Scope *S, ObjCImplDecl* IMPDecl, in DiagnoseUnimplementedProperties()
2108 if (ObjCImplDecl *IMP = PrimaryClass->getImplementation()) { in DiagnoseUnimplementedProperties()
2136 void Sema::diagnoseNullResettableSynthesizedSetters(const ObjCImplDecl *impDecl) { in diagnoseNullResettableSynthesizedSetters()
2162 Sema::AtomicPropertySetterGetterRules (ObjCImplDecl* IMPDecl, in AtomicPropertySetterGetterRules()
2622 else if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(CD)) in ProcessPropertyDecl()
H A DSemaAccess.cpp1970 if (ObjCImplDecl *Impl in IsSimplyAccessible()
1971 = dyn_cast<ObjCImplDecl>(FD->getLexicalDeclContext())) { in IsSimplyAccessible()
H A DSemaExprObjC.cpp1184 isa<ObjCImplDecl>(MatchingMethodDecl->getDeclContext()) || in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1630 if (const ObjCImplDecl *impl = in findExplicitInstancetypeDeclarer()
1631 dyn_cast<ObjCImplDecl>(MD->getDeclContext())) { in findExplicitInstancetypeDeclarer()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h2468 class ObjCImplDecl : public ObjCContainerDecl {
2475 ObjCImplDecl(Kind DK, DeclContext *DC, in ObjCImplDecl() function
2542 class ObjCCategoryImplDecl : public ObjCImplDecl {
2550 : ObjCImplDecl(ObjCCategoryImpl, DC, classInterface, Id, in ObjCCategoryImplDecl()
2595 class ObjCImplementationDecl : public ObjCImplDecl {
2625 : ObjCImplDecl(ObjCImplementation, DC, classInterface,
H A DASTContext.h85 class ObjCImplDecl; variable
286 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp22 if (!isa<ObjCImplDecl>(D)) in getLexicalDeclRange()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp767 } else if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) { in findBackingIvar()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp149 void VisitObjCImplDecl(ObjCImplDecl *D);
953 void ASTDeclWriter::VisitObjCImplDecl(ObjCImplDecl *D) { in VisitObjCImplDecl()
2704 if (isa<FileScopeAsmDecl, TopLevelStmtDecl, ObjCImplDecl>(D)) in isRequiredDecl()
H A DASTReaderDecl.cpp465 void VisitObjCImplDecl(ObjCImplDecl *D);
1497 void ASTDeclReader::VisitObjCImplDecl(ObjCImplDecl *D) { in VisitObjCImplDecl()
3221 if (isa<FileScopeAsmDecl, TopLevelStmtDecl, ObjCProtocolDecl, ObjCImplDecl, in isConsumerInterestedIn()
H A DASTReader.cpp8016 static void PassObjCImplDeclToConsumer(ObjCImplDecl *ImplD, in PassObjCImplDeclToConsumer()
8027 if (ObjCImplDecl *ImplD = dyn_cast<ObjCImplDecl>(D)) in PassInterestingDeclToConsumer()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h158 class ObjCImplDecl; variable
4884 void ImplMethodsVsClassMethods(Scope *S, ObjCImplDecl* IMPDecl,
4890 void DiagnoseUnimplementedProperties(Scope *S, ObjCImplDecl* IMPDecl,
4895 void diagnoseNullResettableSynthesizedSetters(const ObjCImplDecl *impDecl);
4899 void DefaultSynthesizeProperties(Scope *S, ObjCImplDecl *IMPDecl,
4960 void AtomicPropertySetterGetterRules(ObjCImplDecl* IMPDecl,
4988 ObjCImplDecl* IMPDecl,
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp726 const ObjCImplDecl *impl = cast<ObjCImplDecl>(method->getDeclContext()); in Emit()
H A DCGObjCMac.cpp1569 bool ImplementationIsNonLazy(const ObjCImplDecl *OD) const;
6410 const ObjCImplDecl *OD) const { in ImplementationIsNonLazy()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp2188 ObjCImplDecl *ObjCImpDecl = nullptr; in ParseObjCAtImplementationDeclaration()

12