Home
last modified time | relevance | path

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

12

/freebsd/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.cpp61 static void Scan(IvarUsageMap& M, const ObjCPropertyImplDecl *D) { in Scan()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp2205 void ObjCImplDecl::addPropertyImplementation(ObjCPropertyImplDecl *property) { in addPropertyImplementation()
2229 ObjCPropertyImplDecl *ObjCImplDecl::
2241 ObjCPropertyImplDecl *ObjCImplDecl::
2244 ObjCPropertyImplDecl *ClassPropImpl = nullptr; in FindPropertyImplDecl()
2381 ObjCPropertyImplDecl *ObjCPropertyImplDecl::Create(ASTContext &C, in Create()
2389 return new (C, DC) ObjCPropertyImplDecl(DC, atLoc, L, property, PK, ivar, in Create()
2393 ObjCPropertyImplDecl *
2394 ObjCPropertyImplDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID) { in CreateDeserialized()
2395 return new (C, ID) ObjCPropertyImplDecl(nullptr, SourceLocation(), in CreateDeserialized()
2400 SourceRange ObjCPropertyImplDecl::getSourceRange() const { in getSourceRange()
H A DDeclPrinter.cpp100 void VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
1736 void DeclPrinter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PID) { in VisitObjCPropertyImplDecl()
1737 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize) in VisitObjCPropertyImplDecl()
H A DJSONNodeDumper.cpp1228 void JSONNodeDumper::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
1231 ObjCPropertyImplDecl::Synthesize in VisitObjCPropertyImplDecl()
H A DTextNodeDumper.cpp3005 void TextNodeDumper::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
3007 if (D->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize) in VisitObjCPropertyImplDecl()
H A DASTImporter.cpp568 ExpectedDecl VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
6091 ASTNodeImporter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
6107 ObjCPropertyImplDecl *ToImpl in VisitObjCPropertyImplDecl()
6137 == ObjCPropertyImplDecl::Dynamic); in VisitObjCPropertyImplDecl()
6141 << (D->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic); in VisitObjCPropertyImplDecl()
6147 if (D->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize && in VisitObjCPropertyImplDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp1413 ObjCPropertyImplDecl *PIDecl = ObjCPropertyImplDecl::Create( in ActOnPropertyImplDecl()
1415 (Synthesize ? ObjCPropertyImplDecl::Synthesize in ActOnPropertyImplDecl()
1416 : ObjCPropertyImplDecl::Dynamic), in ActOnPropertyImplDecl()
1547 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1555 if (ObjCPropertyImplDecl *PPIDecl in ActOnPropertyImplDecl()
1586 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1594 if (ObjCPropertyImplDecl *PPIDecl = in ActOnPropertyImplDecl()
1603 if (PIDecl->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic && in ActOnPropertyImplDecl()
1907 if (ObjCPropertyImplDecl *PID = in DefaultSynthesizeProperties()
1959 ObjCPropertyImplDecl *PIDecl = dyn_cast_or_null<ObjCPropertyImplDecl>( in DefaultSynthesizeProperties()
[all …]
H A DSemaDeclObjC.cpp3002 if (PImpl->getPropertyImplementation() != ObjCPropertyImplDecl::Dynamic) in ImplMethodsVsClassMethods()
4110 if (const ObjCPropertyImplDecl *PIDecl in ActOnAtEnd()
4114 == ObjCPropertyImplDecl::Dynamic) in ActOnAtEnd()
4874 for (ObjCPropertyImplDecl *PropertyImpl : ImpDecl->property_impls()) { in ActOnMethodDeclaration()
H A DSemaCodeComplete.cpp4318 switch (cast<ObjCPropertyImplDecl>(D)->getPropertyImplementation()) { in getCursorKindForDecl()
4319 case ObjCPropertyImplDecl::Dynamic: in getCursorKindForDecl()
4322 case ObjCPropertyImplDecl::Synthesize: in getCursorKindForDecl()
8947 if (const auto *PropertyImpl = dyn_cast<ObjCPropertyImplDecl>(D)) in CodeCompleteObjCPropertyDefinition()
/freebsd/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.cpp78 if (isa<ObjCPropertyImplDecl>(D)) { in handleDecl()
79 D = cast<ObjCPropertyImplDecl>(D)->getPropertyDecl(); in handleDecl()
274 isa<ObjCPropertyImplDecl>(D) || isa<ConceptDecl>(D)) in isDeclADefinition()
H A DUSRGeneration.cpp94 void VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D);
502 void USRGenerator::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
/freebsd/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.h405 void VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D);
H A DJSONNodeDumper.h281 void VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D);
H A DASTContext.h94 class ObjCPropertyImplDecl; variable
2272 ObjCPropertyImplDecl *getObjCPropertyImplDeclForPropertyDecl(
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefMemberChecker.cpp198 const ObjCPropertyImplDecl *PID) const { in visitPropImpl()
202 if (PID->getPropertyImplementation() != ObjCPropertyImplDecl::Synthesize) in visitPropImpl()
/freebsd/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()
1437 static bool hasTrivialSetExpr(const ObjCPropertyImplDecl *PID) { in hasTrivialSetExpr()
1469 const ObjCPropertyImplDecl *propImpl, in generateObjCSetterBody()
1673 const ObjCPropertyImplDecl *PID) { in GenerateObjCSetter()
3734 const ObjCPropertyImplDecl *PID) { in GenerateObjCAtomicSetterCopyHelperFunction()
3834 const ObjCPropertyImplDecl *PID) { in GenerateObjCAtomicGetterCopyHelperFunction()
H A DCodeGenFunction.h74 class ObjCPropertyImplDecl; variable
2277 const ObjCPropertyImplDecl *PID);
2279 const ObjCPropertyImplDecl *propImpl,
2289 const ObjCPropertyImplDecl *PID);
2291 const ObjCPropertyImplDecl *propImpl,
2315 GenerateObjCAtomicSetterCopyHelperFunction(const ObjCPropertyImplDecl *PID);
2317 GenerateObjCAtomicGetterCopyHelperFunction(const ObjCPropertyImplDecl *PID);
H A DCGObjCGNU.cpp1919 ObjCPropertyImplDecl::Synthesize) { in GenerateClass()
3671 ObjCPropertyImplDecl::Synthesize); in GeneratePropertyList()
3673 ObjCPropertyImplDecl::Dynamic); in GeneratePropertyList()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp265 void RewritePropertyImplDecl(ObjCPropertyImplDecl *PID,
765 void RewriteObjC::RewritePropertyImplDecl(ObjCPropertyImplDecl *PID, in RewritePropertyImplDecl()
779 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewritePropertyImplDecl()
5334 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
5612 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
H A DRewriteModernObjC.cpp318 void RewritePropertyImplDecl(ObjCPropertyImplDecl *PID,
916 void RewriteModernObjC::RewritePropertyImplDecl(ObjCPropertyImplDecl *PID, in RewritePropertyImplDecl()
934 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewritePropertyImplDecl()
6994 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
7244 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp448 void VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
1519 void ASTDeclReader::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
4108 D = ObjCPropertyImplDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp170 void VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D);
1191 void ASTDeclWriter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()

12