Home
last modified time | relevance | path

Searched refs:ObjCPropertyImplDecl (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp146 const ObjCPropertyImplDecl*
204 const ObjCPropertyImplDecl *PropImplRequiringRelease = nullptr; in REGISTER_SET_FACTORY_WITH_PROGRAMSTATE()
560 const ObjCPropertyImplDecl *PropImpl = in diagnoseMissingReleases()
605 const ObjCPropertyImplDecl *
627 const ObjCPropertyImplDecl *PropImpl = in findPropertyOnDeallocatingInstance()
643 const ObjCPropertyImplDecl *PropImpl = in diagnoseExtraRelease()
723 const ObjCPropertyImplDecl *PropImpl = in diagnoseMistakenDealloc()
805 const ObjCPropertyImplDecl *PropImpl) const { in findShadowedPropertyDecl()
886 const ObjCPropertyImplDecl *PropImpl) const { in getDeallocReleaseRequirement()
1039 const ObjCPropertyImplDecl *PropImpl) const { in isReleasedByCIFilterDealloc()
[all …]
H A DObjCUnusedIVarsChecker.cpp63 static void Scan(IvarUsageMap& M, const ObjCPropertyImplDecl *D) { in Scan()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp31 llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*> SynthesizedProperties;
57 for (llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*>::iterator in VisitObjCMessageExpr()
117 ObjCPropertyImplDecl::Synthesize) { in TraverseObjCMethodDecl()
172 for (llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*>::iterator in isZeroingPropIvar()
175 ObjCPropertyImplDecl *PropImpDecl = P->second; in isZeroingPropIvar()
H A DTransProperties.cpp61 ObjCPropertyImplDecl *ImplD;
102 typedef DeclContext::specific_decl_iterator<ObjCPropertyImplDecl> in doTransform()
107 ObjCPropertyImplDecl *implD = *I; in doTransform()
108 if (implD->getPropertyImplementation() != ObjCPropertyImplDecl::Synthesize) in doTransform()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp2150 void ObjCImplDecl::addPropertyImplementation(ObjCPropertyImplDecl *property) { in addPropertyImplementation()
2174 ObjCPropertyImplDecl *ObjCImplDecl::
2186 ObjCPropertyImplDecl *ObjCImplDecl::
2189 ObjCPropertyImplDecl *ClassPropImpl = nullptr; in FindPropertyImplDecl()
2329 ObjCPropertyImplDecl *ObjCPropertyImplDecl::Create(ASTContext &C, in Create()
2337 return new (C, DC) ObjCPropertyImplDecl(DC, atLoc, L, property, PK, ivar, in Create()
2341 ObjCPropertyImplDecl *ObjCPropertyImplDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
2343 return new (C, ID) ObjCPropertyImplDecl(nullptr, SourceLocation(), in CreateDeserialized()
2348 SourceRange ObjCPropertyImplDecl::getSourceRange() const { in getSourceRange()
H A DDeclPrinter.cpp97 void VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
1595 void DeclPrinter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PID) { in VisitObjCPropertyImplDecl()
1596 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize) in VisitObjCPropertyImplDecl()
H A DJSONNodeDumper.cpp1091 void JSONNodeDumper::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
1094 ObjCPropertyImplDecl::Synthesize in VisitObjCPropertyImplDecl()
H A DTextNodeDumper.cpp2356 void TextNodeDumper::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
2358 if (D->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize) in VisitObjCPropertyImplDecl()
/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-decl.m135 // CHECK: ObjCPropertyImplDecl{{.*}} foo synthesize
139 // CHECK-NEXT: ObjCPropertyImplDecl{{.*}} bar synthesize
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaObjCProperty.cpp1423 ObjCPropertyImplDecl *PIDecl = in ActOnPropertyImplDecl()
1424 ObjCPropertyImplDecl::Create(Context, CurContext, AtLoc, PropertyLoc, in ActOnPropertyImplDecl()
1427 ObjCPropertyImplDecl::Synthesize in ActOnPropertyImplDecl()
1428 : ObjCPropertyImplDecl::Dynamic), in ActOnPropertyImplDecl()
1559 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1567 if (ObjCPropertyImplDecl *PPIDecl in ActOnPropertyImplDecl()
1598 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1606 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1918 if (ObjCPropertyImplDecl *PID = in DefaultSynthesizeProperties()
1970 ObjCPropertyImplDecl *PIDecl = dyn_cast_or_null<ObjCPropertyImplDecl>( in DefaultSynthesizeProperties()
[all …]
H A DSemaDeclObjC.cpp2985 if (PImpl->getPropertyImplementation() != ObjCPropertyImplDecl::Dynamic) in ImplMethodsVsClassMethods()
4095 if (const ObjCPropertyImplDecl *PIDecl in ActOnAtEnd()
4099 == ObjCPropertyImplDecl::Dynamic) in ActOnAtEnd()
4845 for (ObjCPropertyImplDecl *PropertyImpl : ImpDecl->property_impls()) { in ActOnMethodDeclaration()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexDecl.cpp469 if (!isa<ObjCPropertyImplDecl>(I) || in VisitObjCImplementationDecl()
470 cast<ObjCPropertyImplDecl>(I)->getLocation().isValid()) in VisitObjCImplementationDecl()
538 bool VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
553 if (D->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in VisitObjCPropertyImplDecl()
556 assert(D->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize); in VisitObjCPropertyImplDecl()
H A DIndexingContext.cpp66 if (isa<ObjCPropertyImplDecl>(D)) { in handleDecl()
67 D = cast<ObjCPropertyImplDecl>(D)->getPropertyDecl(); in handleDecl()
263 isa<ObjCPropertyImplDecl>(D) || isa<ConceptDecl>(D)) in isDeclADefinition()
H A DUSRGeneration.cpp96 void VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D);
486 void USRGenerator::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclObjC.h56 class ObjCPropertyImplDecl; variable
2452 void addPropertyImplementation(ObjCPropertyImplDecl *property);
2454 ObjCPropertyImplDecl *FindPropertyImplDecl(IdentifierInfo *propertyId,
2456 ObjCPropertyImplDecl *FindPropertyImplIvarDecl(IdentifierInfo *ivarId) const;
2459 using propimpl_iterator = specific_decl_iterator<ObjCPropertyImplDecl>;
2461 llvm::iterator_range<specific_decl_iterator<ObjCPropertyImplDecl>>;
2753 class ObjCPropertyImplDecl : public Decl {
2790 ObjCPropertyImplDecl(DeclContext *DC, SourceLocation atLoc, SourceLocation L, in ObjCPropertyImplDecl() function
2803 static ObjCPropertyImplDecl *Create(ASTContext &C, DeclContext *DC,
2810 static ObjCPropertyImplDecl *CreateDeserialized(ASTContext &C, unsigned ID);
H A DTextNodeDumper.h378 void VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D);
H A DJSONNodeDumper.h265 void VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D);
H A DASTContext.h120 class ObjCPropertyImplDecl; variable
2026 ObjCPropertyImplDecl *getObjCPropertyImplDeclForPropertyDecl(
/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-documentation.m48 @synthesize test3; // a property implementation: ObjCPropertyImplDecl
49 @dynamic test4; // a property implementation: ObjCPropertyImplDecl
/llvm-project-15.0.7/clang/tools/libclang/
H A DCursorVisitor.h240 bool VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PD);
H A DCXIndexDataConsumer.h400 bool handleSynthesizedObjCProperty(const ObjCPropertyImplDecl *D);
H A DCXIndexDataConsumer.cpp106 bool VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
827 const ObjCPropertyImplDecl *D) { in handleSynthesizedObjCProperty()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjC.cpp900 const ObjCPropertyImplDecl *propImpl);
915 const ObjCPropertyImplDecl *propImpl) { in PropertyImplStrategy()
1047 const ObjCPropertyImplDecl *PID) { in GenerateObjCGetter()
1059 static bool hasTrivialGetExpr(const ObjCPropertyImplDecl *propImpl) { in hasTrivialGetExpr()
1115 const ObjCPropertyImplDecl *propImpl, in generateObjCGetterBody()
1370 static bool hasTrivialSetExpr(const ObjCPropertyImplDecl *PID) { in hasTrivialSetExpr()
1402 const ObjCPropertyImplDecl *propImpl, in generateObjCSetterBody()
1583 const ObjCPropertyImplDecl *PID) { in GenerateObjCSetter()
3663 const ObjCPropertyImplDecl *PID) { in GenerateObjCAtomicSetterCopyHelperFunction()
3753 const ObjCPropertyImplDecl *PID) { in GenerateObjCAtomicGetterCopyHelperFunction()
H A DCodeGenFunction.h70 class ObjCPropertyImplDecl; variable
2105 const ObjCPropertyImplDecl *PID);
2107 const ObjCPropertyImplDecl *propImpl,
2117 const ObjCPropertyImplDecl *PID);
2119 const ObjCPropertyImplDecl *propImpl,
2144 const ObjCPropertyImplDecl *PID);
2146 const ObjCPropertyImplDecl *PID);
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp267 void RewritePropertyImplDecl(ObjCPropertyImplDecl *PID,
767 void RewriteObjC::RewritePropertyImplDecl(ObjCPropertyImplDecl *PID, in RewritePropertyImplDecl()
781 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewritePropertyImplDecl()
5355 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
5633 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()

12