Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp147 const ObjCPropertyImplDecl*
205 const ObjCPropertyImplDecl *PropImplRequiringRelease = nullptr; in REGISTER_SET_FACTORY_WITH_PROGRAMSTATE()
561 const ObjCPropertyImplDecl *PropImpl = in diagnoseMissingReleases()
607 const ObjCPropertyImplDecl *
629 const ObjCPropertyImplDecl *PropImpl = in findPropertyOnDeallocatingInstance()
645 const ObjCPropertyImplDecl *PropImpl = in diagnoseExtraRelease()
725 const ObjCPropertyImplDecl *PropImpl = in diagnoseMistakenDealloc()
807 const ObjCPropertyImplDecl *PropImpl) const { in findShadowedPropertyDecl()
888 const ObjCPropertyImplDecl *PropImpl) const { in getDeallocReleaseRequirement()
1041 const ObjCPropertyImplDecl *PropImpl) const { in isReleasedByCIFilterDealloc()
[all …]
H A DObjCUnusedIVarsChecker.cpp64 static void Scan(IvarUsageMap& M, const ObjCPropertyImplDecl *D) { in Scan()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A 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()
H A 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()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclObjC.cpp2073 void ObjCImplDecl::addPropertyImplementation(ObjCPropertyImplDecl *property) { in addPropertyImplementation()
2097 ObjCPropertyImplDecl *ObjCImplDecl::
2109 ObjCPropertyImplDecl *ObjCImplDecl::
2112 ObjCPropertyImplDecl *ClassPropImpl = nullptr; in FindPropertyImplDecl()
2247 ObjCPropertyImplDecl *ObjCPropertyImplDecl::Create(ASTContext &C, in Create()
2255 return new (C, DC) ObjCPropertyImplDecl(DC, atLoc, L, property, PK, ivar, in Create()
2259 ObjCPropertyImplDecl *ObjCPropertyImplDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
2261 return new (C, ID) ObjCPropertyImplDecl(nullptr, SourceLocation(), in CreateDeserialized()
2266 SourceRange ObjCPropertyImplDecl::getSourceRange() const { in getSourceRange()
H A DDeclPrinter.cpp97 void VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
1487 void DeclPrinter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PID) { in VisitObjCPropertyImplDecl()
1488 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize) in VisitObjCPropertyImplDecl()
H A DASTDumper.cpp285 void VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D);
1362 void ASTDumper::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
1364 if (D->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize) in VisitObjCPropertyImplDecl()
H A DASTImporter.cpp499 ExpectedDecl VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
4750 ASTNodeImporter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
4766 ObjCPropertyImplDecl *ToImpl in VisitObjCPropertyImplDecl()
4794 == ObjCPropertyImplDecl::Dynamic); in VisitObjCPropertyImplDecl()
4798 << (D->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic); in VisitObjCPropertyImplDecl()
4804 if (D->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize && in VisitObjCPropertyImplDecl()
H A DASTContext.cpp6348 ObjCPropertyImplDecl *
6397 ObjCPropertyImplDecl *SynthesizePID = nullptr; in getObjCEncodingForPropertyDecl()
6399 if (ObjCPropertyImplDecl *PropertyImpDecl = in getObjCEncodingForPropertyDecl()
6401 if (PropertyImpDecl->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in getObjCEncodingForPropertyDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexDecl.cpp444 if (!isa<ObjCPropertyImplDecl>(I) || in VisitObjCImplementationDecl()
445 cast<ObjCPropertyImplDecl>(I)->getLocation().isValid()) in VisitObjCImplementationDecl()
513 bool VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
528 if (D->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in VisitObjCPropertyImplDecl()
531 assert(D->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize); in VisitObjCPropertyImplDecl()
H A DIndexingContext.cpp58 if (isa<ObjCPropertyImplDecl>(D)) { in handleDecl()
59 D = cast<ObjCPropertyImplDecl>(D)->getPropertyDecl(); in handleDecl()
248 isa<ObjCPropertyImplDecl>(D)) in isDeclADefinition()
H A DUSRGeneration.cpp95 void VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D);
479 void USRGenerator::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaObjCProperty.cpp1395 ObjCPropertyImplDecl *PIDecl = in ActOnPropertyImplDecl()
1396 ObjCPropertyImplDecl::Create(Context, CurContext, AtLoc, PropertyLoc, in ActOnPropertyImplDecl()
1399 ObjCPropertyImplDecl::Synthesize in ActOnPropertyImplDecl()
1400 : ObjCPropertyImplDecl::Dynamic), in ActOnPropertyImplDecl()
1510 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1518 if (ObjCPropertyImplDecl *PPIDecl in ActOnPropertyImplDecl()
1549 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1557 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1862 if (ObjCPropertyImplDecl *PID = in DefaultSynthesizeProperties()
1914 ObjCPropertyImplDecl *PIDecl = dyn_cast_or_null<ObjCPropertyImplDecl>( in DefaultSynthesizeProperties()
[all …]
H A DSemaDeclObjC.cpp2950 if (PImpl->getPropertyImplementation() != ObjCPropertyImplDecl::Dynamic) in ImplMethodsVsClassMethods()
3984 if (const ObjCPropertyImplDecl *PIDecl in ActOnAtEnd()
3988 == ObjCPropertyImplDecl::Dynamic) in ActOnAtEnd()
H A DSemaCodeComplete.cpp3444 switch (cast<ObjCPropertyImplDecl>(D)->getPropertyImplementation()) { in getCursorKindForDecl()
3445 case ObjCPropertyImplDecl::Dynamic: in getCursorKindForDecl()
3448 case ObjCPropertyImplDecl::Synthesize: in getCursorKindForDecl()
6917 if (const auto *PropertyImpl = dyn_cast<ObjCPropertyImplDecl>(D)) in CodeCompleteObjCPropertyDefinition()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclObjC.h56 class ObjCPropertyImplDecl; variable
2456 void addPropertyImplementation(ObjCPropertyImplDecl *property);
2458 ObjCPropertyImplDecl *FindPropertyImplDecl(IdentifierInfo *propertyId,
2460 ObjCPropertyImplDecl *FindPropertyImplIvarDecl(IdentifierInfo *ivarId) const;
2463 using propimpl_iterator = specific_decl_iterator<ObjCPropertyImplDecl>;
2465 llvm::iterator_range<specific_decl_iterator<ObjCPropertyImplDecl>>;
2759 class ObjCPropertyImplDecl : public Decl {
2791 ObjCPropertyImplDecl(DeclContext *DC, SourceLocation atLoc, SourceLocation L, in ObjCPropertyImplDecl() function
2804 static ObjCPropertyImplDecl *Create(ASTContext &C, DeclContext *DC,
2811 static ObjCPropertyImplDecl *CreateDeserialized(ASTContext &C, unsigned ID);
H A DASTContext.h114 class ObjCPropertyImplDecl; variable
1833 ObjCPropertyImplDecl *getObjCPropertyImplDeclForPropertyDecl(
H A DRecursiveASTVisitor.h1472 DEF_TRAVERSE_DECL(ObjCPropertyImplDecl, {// FIXME: implement this
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGObjC.cpp748 const ObjCPropertyImplDecl *propImpl);
763 const ObjCPropertyImplDecl *propImpl) { in PropertyImplStrategy()
893 const ObjCPropertyImplDecl *PID) { in GenerateObjCGetter()
906 static bool hasTrivialGetExpr(const ObjCPropertyImplDecl *propImpl) { in hasTrivialGetExpr()
962 const ObjCPropertyImplDecl *propImpl, in generateObjCGetterBody()
1219 static bool hasTrivialSetExpr(const ObjCPropertyImplDecl *PID) { in hasTrivialSetExpr()
1251 const ObjCPropertyImplDecl *propImpl, in generateObjCSetterBody()
1430 const ObjCPropertyImplDecl *PID) { in GenerateObjCSetter()
3403 const ObjCPropertyImplDecl *PID) { in GenerateObjCAtomicSetterCopyHelperFunction()
3487 const ObjCPropertyImplDecl *PID) { in GenerateObjCAtomicGetterCopyHelperFunction()
H A DCodeGenFunction.h71 class ObjCPropertyImplDecl; variable
1718 const ObjCPropertyImplDecl *PID);
1720 const ObjCPropertyImplDecl *propImpl,
1730 const ObjCPropertyImplDecl *PID);
1732 const ObjCPropertyImplDecl *propImpl,
1758 const ObjCPropertyImplDecl *PID);
1760 const ObjCPropertyImplDecl *PID);
H A DCGObjCGNU.cpp1800 ObjCPropertyImplDecl::Synthesize) { in GenerateClass()
3252 ObjCPropertyImplDecl::Synthesize); in GeneratePropertyList()
3254 ObjCPropertyImplDecl::Dynamic); in GeneratePropertyList()
3395 ObjCPropertyImplDecl::Synthesize) { in GenerateClass()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp268 void RewritePropertyImplDecl(ObjCPropertyImplDecl *PID,
767 void RewriteObjC::RewritePropertyImplDecl(ObjCPropertyImplDecl *PID, in RewritePropertyImplDecl()
781 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewritePropertyImplDecl()
5353 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
5631 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
H A DRewriteModernObjC.cpp320 void RewritePropertyImplDecl(ObjCPropertyImplDecl *PID,
919 void RewriteModernObjC::RewritePropertyImplDecl(ObjCPropertyImplDecl *PID, in RewritePropertyImplDecl()
937 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewritePropertyImplDecl()
7034 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
7284 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp446 void VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
1296 void ASTDeclReader::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
3802 D = ObjCPropertyImplDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp146 void VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
856 void ASTDeclWriter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()

12