Home
last modified time | relevance | path

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

12

/src/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()
/src/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()
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h432 SelectorSet &InsMapSeen, SelectorSet &ClsMapSeen, ObjCImplDecl *IMPDecl,
443 void ImplMethodsVsClassMethods(Scope *S, ObjCImplDecl *IMPDecl,
998 void DiagnoseUnimplementedProperties(Scope *S, ObjCImplDecl *IMPDecl,
1003 void diagnoseNullResettableSynthesizedSetters(const ObjCImplDecl *impDecl);
1007 void DefaultSynthesizeProperties(Scope *S, ObjCImplDecl *IMPDecl,
1027 void AtomicPropertySetterGetterRules(ObjCImplDecl *IMPDecl,
/src/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()
2206 void ObjCImplDecl::anchor() {} in anchor()
2208 void ObjCImplDecl::addPropertyImplementation(ObjCPropertyImplDecl *property) { in addPropertyImplementation()
2214 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) { in setClassInterface()
2232 ObjCPropertyImplDecl *ObjCImplDecl::
2244 ObjCPropertyImplDecl *ObjCImplDecl::
H A DASTContext.cpp484 if (const auto *IMD = dyn_cast<ObjCImplDecl>(DC)) { in addRedeclaredMethods()
2924 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*>::iterator in getObjCImplementation()
2934 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*>::iterator in getObjCImplementation()
2972 if (const auto *IMD = dyn_cast<ObjCImplDecl>(ND->getDeclContext())) in getObjContainingInterface()
/src/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()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp1866 void SemaObjC::DefaultSynthesizeProperties(Scope *S, ObjCImplDecl *IMPDecl, in DefaultSynthesizeProperties()
1976 ObjCImplDecl *IMPDecl, ObjCContainerDecl *CDecl, ObjCCategoryDecl *C, in DiagnoseUnimplementedAccessor()
2011 void SemaObjC::DiagnoseUnimplementedProperties(Scope *S, ObjCImplDecl *IMPDecl, in DiagnoseUnimplementedProperties()
2090 if (ObjCImplDecl *IMP = PrimaryClass->getImplementation()) { in DiagnoseUnimplementedProperties()
2119 const ObjCImplDecl *impDecl) { in diagnoseNullResettableSynthesizedSetters()
2144 void SemaObjC::AtomicPropertySetterGetterRules(ObjCImplDecl *IMPDecl, in AtomicPropertySetterGetterRules()
2610 else if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(CD)) in ProcessPropertyDecl()
H A DSemaDeclObjC.cpp160 else if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(DC)) in CheckObjCMethodOverride()
450 ObjCImplDecl *ImplDeclOfMethodDef = in ActOnStartOfObjCMethodDef()
451 dyn_cast<ObjCImplDecl>(MDecl->getDeclContext()); in ActOnStartOfObjCMethodDef()
454 ObjCImplDecl *ImplDeclOfMethodDecl = nullptr; in ActOnStartOfObjCMethodDef()
2242 static void WarnUndefinedMethod(Sema &S, ObjCImplDecl *Impl, in WarnUndefinedMethod()
2711 Sema &S, ObjCImplDecl *Impl, ObjCProtocolDecl *PDecl, bool &IncompleteImpl, in CheckProtocolMethodDefs()
2836 SelectorSet &InsMapSeen, SelectorSet &ClsMapSeen, ObjCImplDecl *IMPDecl, in MatchAllMethodDeclarations()
2982 void SemaObjC::ImplMethodsVsClassMethods(Scope *S, ObjCImplDecl *IMPDecl, in ImplMethodsVsClassMethods()
4469 } else if (isa<ObjCImplDecl>(ObjCMethod->getDeclContext())) { in CheckObjCMethodOverrides()
4682 ObjCImplDecl *ImpDecl = nullptr) { in checkObjCDirectMethodClashes()
[all …]
H A DSemaAvailability.cpp200 if (const auto *Impl = dyn_cast<ObjCImplDecl>(C)) { in ShouldDiagnoseAvailabilityInContext()
223 if (const auto *CatOrImpl = dyn_cast<ObjCImplDecl>(Ctx)) { in ShouldDiagnoseAvailabilityInContext()
287 if (auto *Imp = dyn_cast<ObjCImplDecl>(Ctx)) in findEnclosingDeclToAnnotate()
H A DSemaAccess.cpp1955 if (ObjCImplDecl *Impl in IsSimplyAccessible()
1956 = dyn_cast<ObjCImplDecl>(FD->getLexicalDeclContext())) { in IsSimplyAccessible()
H A DSemaAPINotes.cpp958 if (auto Impl = dyn_cast<ObjCImplDecl>(ObjCContainer)) { in ProcessAPINotes()
H A DSemaExprObjC.cpp1193 isa<ObjCImplDecl>(MatchingMethodDecl->getDeclContext()) || in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1642 if (const ObjCImplDecl *impl = in findExplicitInstancetypeDeclarer()
1643 dyn_cast<ObjCImplDecl>(MD->getDeclContext())) { in findExplicitInstancetypeDeclarer()
/src/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h2469 class ObjCImplDecl : public ObjCContainerDecl {
2476 ObjCImplDecl(Kind DK, DeclContext *DC, ObjCInterfaceDecl *classInterface, in ObjCImplDecl() function
2542 class ObjCCategoryImplDecl : public ObjCImplDecl {
2550 : ObjCImplDecl(ObjCCategoryImpl, DC, classInterface, Id, nameLoc, in ObjCCategoryImplDecl()
2594 class ObjCImplementationDecl : public ObjCImplDecl {
2624 : ObjCImplDecl(ObjCImplementation, DC, classInterface,
H A DASTContext.h86 class ObjCImplDecl; variable
298 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
/src/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp22 if (!isa<ObjCImplDecl>(D)) in getLexicalDeclRange()
/src/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp767 } else if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) { in findBackingIvar()
/src/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp152 void VisitObjCImplDecl(ObjCImplDecl *D);
991 void ASTDeclWriter::VisitObjCImplDecl(ObjCImplDecl *D) { in VisitObjCImplDecl()
2788 if (isa<FileScopeAsmDecl, TopLevelStmtDecl, ObjCImplDecl>(D)) in isRequiredDecl()
H A DASTReaderDecl.cpp460 void VisitObjCImplDecl(ObjCImplDecl *D);
1489 void ASTDeclReader::VisitObjCImplDecl(ObjCImplDecl *D) { in VisitObjCImplDecl()
3198 if (isa<FileScopeAsmDecl, TopLevelStmtDecl, ObjCProtocolDecl, ObjCImplDecl, in isConsumerInterestedIn()
/src/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;
6416 const ObjCImplDecl *OD) const { in ImplementationIsNonLazy()
/src/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp2181 ObjCImplDecl *ObjCImpDecl = nullptr; in ParseObjCAtImplementationDeclaration()

12