Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DCheckObjCDealloc.cpp68 static bool isSynthesizedRetainableProperty(const ObjCPropertyImplDecl *I, in isSynthesizedRetainableProperty()
72 if (I->getPropertyImplementation() != ObjCPropertyImplDecl::Synthesize) in isSynthesizedRetainableProperty()
146 const ObjCPropertyImplDecl*
151 getDeallocReleaseRequirement(const ObjCPropertyImplDecl *PropImpl) const;
164 findShadowedPropertyDecl(const ObjCPropertyImplDecl *PropImpl) const;
175 bool isReleasedByCIFilterDealloc(const ObjCPropertyImplDecl *PropImpl) const;
211 const ObjCPropertyImplDecl *PropImplRequiringRelease = nullptr; in checkASTDecl()
567 const ObjCPropertyImplDecl *PropImpl = in diagnoseMissingReleases()
613 const ObjCPropertyImplDecl *
635 const ObjCPropertyImplDecl *PropImpl = in findPropertyOnDeallocatingInstance()
[all …]
DObjCUnusedIVarsChecker.cpp64 static void Scan(IvarUsageMap& M, const ObjCPropertyImplDecl *D) { in Scan()
/external/clang/lib/ARCMigrate/
DTransZeroOutPropsInDealloc.cpp32 llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*> SynthesizedProperties;
58 for (llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*>::iterator in VisitObjCMessageExpr()
118 ObjCPropertyImplDecl::Synthesize) { in TraverseObjCMethodDecl()
175 for (llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*>::iterator in isZeroingPropIvar()
178 ObjCPropertyImplDecl *PropImpDecl = P->second; in isZeroingPropIvar()
DTransProperties.cpp62 ObjCPropertyImplDecl *ImplD;
103 typedef DeclContext::specific_decl_iterator<ObjCPropertyImplDecl> in doTransform()
108 ObjCPropertyImplDecl *implD = *I; in doTransform()
109 if (implD->getPropertyImplementation() != ObjCPropertyImplDecl::Synthesize) in doTransform()
/external/clang/lib/Index/
DIndexDecl.cpp312 bool VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
320 if (D->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in VisitObjCPropertyImplDecl()
322 assert(D->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize); in VisitObjCPropertyImplDecl()
DUSRGeneration.cpp86 void VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D);
417 void USRGenerator::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
DIndexingContext.cpp192 isa<ObjCPropertyImplDecl>(D)) in isDeclADefinition()
/external/clang/lib/AST/
DDeclObjC.cpp2009 void ObjCImplDecl::addPropertyImplementation(ObjCPropertyImplDecl *property) { in addPropertyImplementation()
2036 ObjCPropertyImplDecl *ObjCImplDecl::
2049 ObjCPropertyImplDecl *ObjCImplDecl::
2052 ObjCPropertyImplDecl *ClassPropImpl = nullptr; in FindPropertyImplDecl()
2188 ObjCPropertyImplDecl *ObjCPropertyImplDecl::Create(ASTContext &C, in Create()
2196 return new (C, DC) ObjCPropertyImplDecl(DC, atLoc, L, property, PK, ivar, in Create()
2200 ObjCPropertyImplDecl *ObjCPropertyImplDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
2202 return new (C, ID) ObjCPropertyImplDecl(nullptr, SourceLocation(), in CreateDeserialized()
2207 SourceRange ObjCPropertyImplDecl::getSourceRange() const { in getSourceRange()
DDeclPrinter.cpp89 void VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
1333 void DeclPrinter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PID) { in VisitObjCPropertyImplDecl()
1334 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize) in VisitObjCPropertyImplDecl()
DASTDumper.cpp493 void VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D);
1705 void ASTDumper::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
1707 if (D->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize) in VisitObjCPropertyImplDecl()
DASTImporter.cpp170 Decl *VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
4248 Decl *ASTNodeImporter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
4279 ObjCPropertyImplDecl *ToImpl in VisitObjCPropertyImplDecl()
4283 ToImpl = ObjCPropertyImplDecl::Create(Importer.getToContext(), DC, in VisitObjCPropertyImplDecl()
4301 == ObjCPropertyImplDecl::Dynamic); in VisitObjCPropertyImplDecl()
4305 << (D->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic); in VisitObjCPropertyImplDecl()
4310 if (D->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize && in VisitObjCPropertyImplDecl()
/external/clang/test/Misc/
Dast-dump-decl.m120 // CHECK: ObjCPropertyImplDecl{{.*}} foo synthesize
124 // CHECK-NEXT: ObjCPropertyImplDecl{{.*}} bar synthesize
/external/clang/lib/Sema/
DSemaObjCProperty.cpp1234 ObjCPropertyImplDecl *PIDecl = in ActOnPropertyImplDecl()
1235 ObjCPropertyImplDecl::Create(Context, CurContext, AtLoc, PropertyLoc, in ActOnPropertyImplDecl()
1238 ObjCPropertyImplDecl::Synthesize in ActOnPropertyImplDecl()
1239 : ObjCPropertyImplDecl::Dynamic), in ActOnPropertyImplDecl()
1349 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1357 if (ObjCPropertyImplDecl *PPIDecl in ActOnPropertyImplDecl()
1388 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1396 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1696 if (ObjCPropertyImplDecl *PID = in DefaultSynthesizeProperties()
1744 ObjCPropertyImplDecl *PIDecl = dyn_cast_or_null<ObjCPropertyImplDecl>( in DefaultSynthesizeProperties()
[all …]
DSemaDeclObjC.cpp2879 if (PImpl->getPropertyImplementation() != ObjCPropertyImplDecl::Dynamic) in ImplMethodsVsClassMethods()
3803 if (const ObjCPropertyImplDecl *PIDecl in ActOnAtEnd()
3807 == ObjCPropertyImplDecl::Dynamic) in ActOnAtEnd()
/external/clang/include/clang/AST/
DDeclObjC.h32 class ObjCPropertyImplDecl; variable
2340 void addPropertyImplementation(ObjCPropertyImplDecl *property);
2342 ObjCPropertyImplDecl *FindPropertyImplDecl(IdentifierInfo *propertyId,
2344 ObjCPropertyImplDecl *FindPropertyImplIvarDecl(IdentifierInfo *ivarId) const;
2347 typedef specific_decl_iterator<ObjCPropertyImplDecl> propimpl_iterator;
2348 typedef llvm::iterator_range<specific_decl_iterator<ObjCPropertyImplDecl>>
2655 class ObjCPropertyImplDecl : public Decl {
2686 ObjCPropertyImplDecl(DeclContext *DC, SourceLocation atLoc, SourceLocation L, in ObjCPropertyImplDecl() function
2698 static ObjCPropertyImplDecl *Create(ASTContext &C, DeclContext *DC,
2705 static ObjCPropertyImplDecl *CreateDeserialized(ASTContext &C, unsigned ID);
/external/clang/test/Sema/
Dwarn-documentation.m47 @synthesize test3; // a property implementation: ObjCPropertyImplDecl
48 @dynamic test4; // a property implementation: ObjCPropertyImplDecl
/external/clang/lib/CodeGen/
DCGObjC.cpp651 const ObjCPropertyImplDecl *propImpl);
666 const ObjCPropertyImplDecl *propImpl) { in PropertyImplStrategy()
796 const ObjCPropertyImplDecl *PID) { in GenerateObjCGetter()
809 static bool hasTrivialGetExpr(const ObjCPropertyImplDecl *propImpl) { in hasTrivialGetExpr()
864 const ObjCPropertyImplDecl *propImpl, in generateObjCGetterBody()
1114 static bool hasTrivialSetExpr(const ObjCPropertyImplDecl *PID) { in hasTrivialSetExpr()
1146 const ObjCPropertyImplDecl *propImpl, in generateObjCSetterBody()
1322 const ObjCPropertyImplDecl *PID) { in GenerateObjCSetter()
3166 const ObjCPropertyImplDecl *PID) { in GenerateObjCAtomicSetterCopyHelperFunction()
3245 const ObjCPropertyImplDecl *PID) { in GenerateObjCAtomicGetterCopyHelperFunction()
DCodeGenFunction.h69 class ObjCPropertyImplDecl; variable
1314 const ObjCPropertyImplDecl *PID);
1316 const ObjCPropertyImplDecl *propImpl,
1326 const ObjCPropertyImplDecl *PID);
1328 const ObjCPropertyImplDecl *propImpl,
1347 const ObjCPropertyImplDecl *PID);
1349 const ObjCPropertyImplDecl *PID);
/external/clang/tools/libclang/
DCursorVisitor.h233 bool VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PD);
DCXIndexDataConsumer.h424 bool handleSynthesizedObjCProperty(const ObjCPropertyImplDecl *D);
DCXIndexDataConsumer.cpp107 bool VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
813 const ObjCPropertyImplDecl *D) { in handleSynthesizedObjCProperty()
DCIndex.cpp1178 bool CursorVisitor::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PD) { in VisitObjCPropertyImplDecl()
4086 if (const ObjCPropertyImplDecl *PropImpl = in getDeclSpelling()
4087 dyn_cast<ObjCPropertyImplDecl>(D)) in getDeclSpelling()
4956 } else if (const ObjCPropertyImplDecl *PropImp in GetCursorVisitor()
4957 = dyn_cast_or_null<ObjCPropertyImplDecl>(getCursorDecl(cursor))) { in GetCursorVisitor()
5474 if (const ObjCPropertyImplDecl *PropImpl = in clang_getCursorReferenced()
5475 dyn_cast<ObjCPropertyImplDecl>(D)) in clang_getCursorReferenced()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp267 void RewritePropertyImplDecl(ObjCPropertyImplDecl *PID,
766 void RewriteObjC::RewritePropertyImplDecl(ObjCPropertyImplDecl *PID, in RewritePropertyImplDecl()
780 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewritePropertyImplDecl()
5360 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
5638 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
DRewriteModernObjC.cpp319 void RewritePropertyImplDecl(ObjCPropertyImplDecl *PID,
915 void RewriteModernObjC::RewritePropertyImplDecl(ObjCPropertyImplDecl *PID, in RewritePropertyImplDecl()
934 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewritePropertyImplDecl()
7042 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
7292 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp140 void VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
825 void ASTDeclWriter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()

12