Home
last modified time | relevance | path

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

12

/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp69 static bool isSynthesizedRetainableProperty(const ObjCPropertyImplDecl *I, in isSynthesizedRetainableProperty()
73 if (I->getPropertyImplementation() != ObjCPropertyImplDecl::Synthesize) in isSynthesizedRetainableProperty()
152 const ObjCPropertyImplDecl*
157 getDeallocReleaseRequirement(const ObjCPropertyImplDecl *PropImpl) const;
170 findShadowedPropertyDecl(const ObjCPropertyImplDecl *PropImpl) const;
181 bool isReleasedByCIFilterDealloc(const ObjCPropertyImplDecl *PropImpl) const;
182 bool isNibLoadedIvarWithoutRetain(const ObjCPropertyImplDecl *PropImpl) const;
210 const ObjCPropertyImplDecl *PropImplRequiringRelease = nullptr; in REGISTER_SET_FACTORY_WITH_PROGRAMSTATE()
568 const ObjCPropertyImplDecl *PropImpl = in diagnoseMissingReleases()
613 const ObjCPropertyImplDecl *
[all …]
H A DObjCUnusedIVarsChecker.cpp62 static void Scan(IvarUsageMap& M, const ObjCPropertyImplDecl *D) { in Scan()
/src/contrib/llvm-project/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()
/src/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp2208 void ObjCImplDecl::addPropertyImplementation(ObjCPropertyImplDecl *property) { in addPropertyImplementation()
2232 ObjCPropertyImplDecl *ObjCImplDecl::
2244 ObjCPropertyImplDecl *ObjCImplDecl::
2247 ObjCPropertyImplDecl *ClassPropImpl = nullptr; in FindPropertyImplDecl()
2384 ObjCPropertyImplDecl *ObjCPropertyImplDecl::Create(ASTContext &C, in Create()
2392 return new (C, DC) ObjCPropertyImplDecl(DC, atLoc, L, property, PK, ivar, in Create()
2396 ObjCPropertyImplDecl *
2397 ObjCPropertyImplDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID) { in CreateDeserialized()
2398 return new (C, ID) ObjCPropertyImplDecl(nullptr, SourceLocation(), in CreateDeserialized()
2403 SourceRange ObjCPropertyImplDecl::getSourceRange() const { in getSourceRange()
H A DDeclPrinter.cpp99 void VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
1700 void DeclPrinter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PID) { in VisitObjCPropertyImplDecl()
1701 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize) in VisitObjCPropertyImplDecl()
H A DJSONNodeDumper.cpp1220 void JSONNodeDumper::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
1223 ObjCPropertyImplDecl::Synthesize in VisitObjCPropertyImplDecl()
H A DTextNodeDumper.cpp2841 void TextNodeDumper::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
2843 if (D->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize) in VisitObjCPropertyImplDecl()
H A DASTImporter.cpp519 ExpectedDecl VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
5815 ASTNodeImporter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
5831 ObjCPropertyImplDecl *ToImpl in VisitObjCPropertyImplDecl()
5861 == ObjCPropertyImplDecl::Dynamic); in VisitObjCPropertyImplDecl()
5865 << (D->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic); in VisitObjCPropertyImplDecl()
5871 if (D->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize && in VisitObjCPropertyImplDecl()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp1403 ObjCPropertyImplDecl *PIDecl = ObjCPropertyImplDecl::Create( in ActOnPropertyImplDecl()
1405 (Synthesize ? ObjCPropertyImplDecl::Synthesize in ActOnPropertyImplDecl()
1406 : ObjCPropertyImplDecl::Dynamic), in ActOnPropertyImplDecl()
1537 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1545 if (ObjCPropertyImplDecl *PPIDecl in ActOnPropertyImplDecl()
1576 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1584 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1593 if (PIDecl->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic && in ActOnPropertyImplDecl()
1896 if (ObjCPropertyImplDecl *PID = in DefaultSynthesizeProperties()
1948 ObjCPropertyImplDecl *PIDecl = dyn_cast_or_null<ObjCPropertyImplDecl>( in DefaultSynthesizeProperties()
[all …]
H A DSemaDeclObjC.cpp2994 if (PImpl->getPropertyImplementation() != ObjCPropertyImplDecl::Dynamic) in ImplMethodsVsClassMethods()
4108 if (const ObjCPropertyImplDecl *PIDecl in ActOnAtEnd()
4112 == ObjCPropertyImplDecl::Dynamic) in ActOnAtEnd()
4870 for (ObjCPropertyImplDecl *PropertyImpl : ImpDecl->property_impls()) { in ActOnMethodDeclaration()
/src/contrib/llvm-project/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()
262 isa<ObjCPropertyImplDecl>(D) || isa<ConceptDecl>(D)) in isDeclADefinition()
H A DUSRGeneration.cpp98 void VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D);
507 void USRGenerator::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
/src/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h55 class ObjCPropertyImplDecl; variable
2499 void addPropertyImplementation(ObjCPropertyImplDecl *property);
2501 ObjCPropertyImplDecl *FindPropertyImplDecl(IdentifierInfo *propertyId,
2503 ObjCPropertyImplDecl *FindPropertyImplIvarDecl(IdentifierInfo *ivarId) const;
2506 using propimpl_iterator = specific_decl_iterator<ObjCPropertyImplDecl>;
2508 llvm::iterator_range<specific_decl_iterator<ObjCPropertyImplDecl>>;
2802 class ObjCPropertyImplDecl : public Decl {
2839 ObjCPropertyImplDecl(DeclContext *DC, SourceLocation atLoc, SourceLocation L, in ObjCPropertyImplDecl() function
2852 static ObjCPropertyImplDecl *Create(ASTContext &C, DeclContext *DC,
2859 static ObjCPropertyImplDecl *CreateDeserialized(ASTContext &C,
H A DTextNodeDumper.h404 void VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D);
H A DJSONNodeDumper.h281 void VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D);
H A DASTContext.h92 class ObjCPropertyImplDecl; variable
2091 ObjCPropertyImplDecl *getObjCPropertyImplDeclForPropertyDecl(
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp899 const ObjCPropertyImplDecl *propImpl);
918 const ObjCPropertyImplDecl *propImpl) { in PropertyImplStrategy()
1050 const ObjCPropertyImplDecl *PID) { in GenerateObjCGetter()
1062 static bool hasTrivialGetExpr(const ObjCPropertyImplDecl *propImpl) { in hasTrivialGetExpr()
1136 const ObjCPropertyImplDecl *propImpl, in generateObjCGetterBody()
1401 static bool hasTrivialSetExpr(const ObjCPropertyImplDecl *PID) { in hasTrivialSetExpr()
1433 const ObjCPropertyImplDecl *propImpl, in generateObjCSetterBody()
1629 const ObjCPropertyImplDecl *PID) { in GenerateObjCSetter()
3688 const ObjCPropertyImplDecl *PID) { in GenerateObjCAtomicSetterCopyHelperFunction()
3788 const ObjCPropertyImplDecl *PID) { in GenerateObjCAtomicGetterCopyHelperFunction()
H A DCodeGenFunction.h73 class ObjCPropertyImplDecl; variable
2264 const ObjCPropertyImplDecl *PID);
2266 const ObjCPropertyImplDecl *propImpl,
2276 const ObjCPropertyImplDecl *PID);
2278 const ObjCPropertyImplDecl *propImpl,
2303 const ObjCPropertyImplDecl *PID);
2305 const ObjCPropertyImplDecl *PID);
H A DCGObjCGNU.cpp1910 ObjCPropertyImplDecl::Synthesize) { in GenerateClass()
3579 ObjCPropertyImplDecl::Synthesize); in GeneratePropertyList()
3581 ObjCPropertyImplDecl::Dynamic); in GeneratePropertyList()
/src/contrib/llvm-project/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()
H A DRewriteModernObjC.cpp319 void RewritePropertyImplDecl(ObjCPropertyImplDecl *PID,
917 void RewriteModernObjC::RewritePropertyImplDecl(ObjCPropertyImplDecl *PID, in RewritePropertyImplDecl()
935 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewritePropertyImplDecl()
7028 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
7278 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
/src/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp465 void VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
1512 void ASTDeclReader::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
4031 D = ObjCPropertyImplDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp157 void VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
1018 void ASTDeclWriter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()

12