Home
last modified time | relevance | path

Searched refs:ObjCPropertyDecl (Results 1 – 25 of 63) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCPropertyChecker.cpp26 : public Checker<check::ASTDecl<ObjCPropertyDecl>> {
27 void checkCopyMutable(const ObjCPropertyDecl *D, BugReporter &BR) const;
30 void checkASTDecl(const ObjCPropertyDecl *D, AnalysisManager &Mgr,
35 void ObjCPropertyChecker::checkASTDecl(const ObjCPropertyDecl *D, in checkASTDecl()
41 void ObjCPropertyChecker::checkCopyMutable(const ObjCPropertyDecl *D, in checkCopyMutable()
43 if (D->isReadOnly() || D->getSetterKind() != ObjCPropertyDecl::Copy) in checkCopyMutable()
H A DCheckObjCDealloc.cpp163 const ObjCPropertyDecl *
571 if (PropDecl->getSetterKind() == ObjCPropertyDecl::Retain) in diagnoseMissingReleases()
693 if (PropDecl->getSetterKind() == ObjCPropertyDecl::Weak) in diagnoseExtraRelease()
821 auto *ShadowedPropDecl = dyn_cast<ObjCPropertyDecl>(*I); in findShadowedPropertyDecl()
888 const ObjCPropertyDecl *PropDecl; in getDeallocReleaseRequirement()
892 ObjCPropertyDecl::SetterKind SK = PropDecl->getSetterKind(); in getDeallocReleaseRequirement()
897 case ObjCPropertyDecl::Retain: in getDeallocReleaseRequirement()
898 case ObjCPropertyDecl::Copy: in getDeallocReleaseRequirement()
907 case ObjCPropertyDecl::Weak: in getDeallocReleaseRequirement()
910 case ObjCPropertyDecl::Assign: in getDeallocReleaseRequirement()
[all …]
H A DIvarInvalidationChecker.cpp59 typedef llvm::DenseMap<const ObjCPropertyDecl*,
62 const ObjCPropertyDecl*> IvarToPropMapTy;
192 const ObjCPropertyDecl *Prop,
300 const ObjCPropertyDecl *Prop, in findPropertyBackingIvar()
348 const ObjCPropertyDecl *PD = IvarToPopertyMap.lookup(IvarDecl); in printIvar()
387 const ObjCPropertyDecl *PD = I->second; in visit()
397 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl()); in visit()
619 const ObjCPropertyDecl *PD = PA->getExplicitProperty(); in checkObjCPropertyRefExpr()
621 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl()); in checkObjCPropertyRefExpr()
H A DDirectIvarAssignment.cpp55 const ObjCPropertyDecl*> IvarToPropertyMapTy;
94 static const ObjCIvarDecl *findPropertyBackingIvar(const ObjCPropertyDecl *PD, in findPropertyBackingIvar()
180 const ObjCPropertyDecl *PD = I->second; in VisitBinaryOperator()
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp29 std::vector<ObjCPropertyDecl *> &AllProps;
34 std::vector<ObjCPropertyDecl *> &AllProps) in GCAttrsCollector()
51 if (ObjCPropertyDecl *PropD = dyn_cast<ObjCPropertyDecl>(D)) { in TraverseDecl()
217 typedef llvm::TinyPtrVector<ObjCPropertyDecl *> IndivPropsTy;
232 SmallVector<std::pair<AttributedTypeLoc, ObjCPropertyDecl *>, 4> ATLs; in checkAllAtProps()
237 ObjCPropertyDecl *PD = *PI; in checkAllAtProps()
297 std::vector<ObjCPropertyDecl *> &AllProps) { in checkAllProps()
298 typedef llvm::TinyPtrVector<ObjCPropertyDecl *> IndivPropsTy; in checkAllProps()
302 ObjCPropertyDecl *PD = AllProps[i]; in checkAllProps()
321 std::vector<ObjCPropertyDecl *> AllProps; in traverseTU()
H A DTransZeroOutPropsInDealloc.cpp31 llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*> SynthesizedProperties;
57 for (llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*>::iterator in VisitObjCMessageExpr()
60 ObjCPropertyDecl *PropDecl = P->first; in VisitObjCMessageExpr()
118 ObjCPropertyDecl *PD = PID->getPropertyDecl(); in TraverseObjCMethodDecl()
172 for (llvm::DenseMap<ObjCPropertyDecl*, ObjCPropertyImplDecl*>::iterator in isZeroingPropIvar()
203 if (ObjCPropertyDecl *PDecl = PropRefExp->getExplicitProperty()) { in isZeroingPropIvar()
H A DTransProperties.cpp59 ObjCPropertyDecl *PropD;
63 PropData(ObjCPropertyDecl *propD) in PropData()
110 ObjCPropertyDecl *propD = implD->getPropertyDecl(); in doTransform()
H A DObjCMT.cpp61 void migratePropertyNsReturnsInnerPointer(ASTContext &Ctx, ObjCPropertyDecl *P);
252 const ObjCPropertyDecl *Prop = Method->findPropertyDecl(); in rewriteToPropertyDotSyntax()
612 if (Property->getPropertyImplementation() == ObjCPropertyDecl::Optional) in ClassImplementsAllMethodsAndProperties()
624 } else if (auto *ClassProperty = R.find_first<ObjCPropertyDecl>()) { in ClassImplementsAllMethodsAndProperties()
1268 ObjCPropertyDecl *P) { in migratePropertyNsReturnsInnerPointer()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp115 if (ObjCPropertyDecl *ProtoProp = in CheckPropertyAgainstProtocol()
194 ObjCPropertyDecl *Res = nullptr; in ActOnProperty()
234 if (ObjCPropertyDecl *SuperProp = in ActOnProperty()
404 ObjCPropertyDecl *
615 ObjCPropertyDecl *PDecl = ObjCPropertyDecl::Create(Context, DC, in CreatePropertyDecl()
624 if (ObjCPropertyDecl *prevDecl = ObjCPropertyDecl::findPropertyDecl( in CreatePropertyDecl()
837 static ObjCPropertyDecl *
890 const ObjCPropertyDecl *Prop; in SelectPropertyForSynthesisFromProtocols()
1032 if (ObjCPropertyDecl *OrigProp = dyn_cast<ObjCPropertyDecl>(Found)) in hasWrittenStorageAttribute()
1998 ObjCPropertyDecl *Prop, in DiagnoseUnimplementedAccessor()
[all …]
H A DScopeInfo.cpp132 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy()
151 const ObjCPropertyDecl *Prop) { in recordUseOfWeak()
198 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse()
H A DDelayedDiagnostic.cpp29 const ObjCPropertyDecl *ObjCProperty, in makeAvailability()
H A DSemaAvailability.cpp282 if (isa<ObjCPropertyDecl>(D)) in createAttributeInsertion()
316 const ObjCPropertyDecl *ObjCProperty, in DoEmitAvailabilityWarning()
560 const ObjCPropertyDecl *ObjCProperty, in EmitAvailabilityWarning()
948 const ObjCPropertyDecl *ObjCPDecl = nullptr; in DiagnoseAvailabilityOfDecl()
950 if (const ObjCPropertyDecl *PD = MD->findPropertyDecl()) { in DiagnoseAvailabilityOfDecl()
H A DSemaPseudoObject.cpp584 const ObjCPropertyDecl *Prop = RefExpr->getExplicitProperty(); in isWeakProperty()
621 ObjCPropertyDecl *prop = RefExpr->getExplicitProperty(); in findGetter()
650 ObjCPropertyDecl *prop = RefExpr->getExplicitProperty(); in findSetter()
666 if (ObjCPropertyDecl *prop1 = IFace->FindPropertyDeclaration( in findSetter()
691 if (ObjCPropertyDecl *prop = RefExpr->getExplicitProperty()) { in DiagnoseUnsupportedPropertyUse()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp125 const ObjCPropertyDecl *Property) const { in HasUserDeclaredSetterMethod()
177 ObjCPropertyDecl *
193 if (ObjCPropertyDecl *PD = ObjCPropertyDecl::findPropertyDecl(Ext, in findPropertyDecl()
200 ObjCPropertyDecl *classProp = nullptr; in findPropertyDecl()
256 if (ObjCPropertyDecl *PD = in FindPropertyDeclaration()
369 ObjCPropertyDecl *
380 if (ObjCPropertyDecl *PD = in FindPropertyVisibleInPrimaryClass()
1326 const ObjCPropertyDecl *
2273 void ObjCPropertyDecl::anchor() {} in anchor()
2275 ObjCPropertyDecl *ObjCPropertyDecl::Create(ASTContext &C, DeclContext *DC, in Create()
[all …]
H A DDeclPrinter.cpp96 void VisitObjCPropertyDecl(ObjCPropertyDecl *D);
1474 void DeclPrinter::VisitObjCPropertyDecl(ObjCPropertyDecl *PDecl) { in VisitObjCPropertyDecl()
1475 if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Required) in VisitObjCPropertyDecl()
1477 else if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Optional) in VisitObjCPropertyDecl()
H A DComment.cpp304 else if (const auto *PD = dyn_cast<ObjCPropertyDecl>(CommentDecl)) in fill()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h55 class ObjCPropertyDecl; variable
729 class ObjCPropertyDecl : public NamedDecl {
783 static ObjCPropertyDecl *Create(ASTContext &C, DeclContext *DC,
975 filtered_decl_iterator<ObjCPropertyDecl,
992 filtered_decl_iterator<ObjCPropertyDecl,
1075 ObjCPropertyDecl *
1081 ObjCPropertyDecl *>;
1777 ObjCPropertyDecl
2760 ObjCPropertyDecl *PropertyDecl;
2779 ObjCPropertyDecl *property, in ObjCPropertyImplDecl()
[all …]
H A DASTMutationListener.h33 class ObjCPropertyDecl; variable
H A DExprObjC.h648 ObjCPropertyRefExpr(ObjCPropertyDecl *PD, QualType t, ExprValueKind VK, in ObjCPropertyRefExpr()
656 ObjCPropertyRefExpr(ObjCPropertyDecl *PD, QualType t, ExprValueKind VK, in ObjCPropertyRefExpr()
703 ObjCPropertyDecl *getExplicitProperty() const { in getExplicitProperty()
705 return cast<ObjCPropertyDecl>(PropertyOrGetter.getPointer()); in getExplicitProperty()
807 void setExplicitProperty(ObjCPropertyDecl *D, unsigned methRefFlags) { in setExplicitProperty()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DDelayedDiagnostic.h44 class ObjCPropertyDecl; variable
140 const ObjCPropertyDecl *ObjCProperty,
225 const ObjCPropertyDecl *getObjCProperty() const { in getObjCProperty()
238 const ObjCPropertyDecl *ObjCProperty;
H A DScopeInfo.h52 class ObjCPropertyDecl; variable
278 WeakObjectProfileTy(const Expr *Base, const ObjCPropertyDecl *Property);
405 const ObjCPropertyDecl *Prop);
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/
H A DBodyFarm.h27 class ObjCPropertyDecl; variable
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp704 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar()
747 const ObjCPropertyDecl *Prop = nullptr; in createObjCPropertyGetter()
756 if (const ObjCPropertyDecl *Candidate = PI->getPropertyDecl()) { in createObjCPropertyGetter()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp134 const ObjCPropertyDecl *AssociatedProp = nullptr) { in handleObjCMethod()
508 bool VisitObjCPropertyDecl(const ObjCPropertyDecl *D) { in VisitObjCPropertyDecl()
524 ObjCPropertyDecl *PD = D->getPropertyDecl(); in VisitObjCPropertyImplDecl()
H A DUSRGeneration.cpp95 void VisitObjCPropertyDecl(const ObjCPropertyDecl *D);
475 void USRGenerator::VisitObjCPropertyDecl(const ObjCPropertyDecl *D) { in VisitObjCPropertyDecl()
486 if (ObjCPropertyDecl *PD = D->getPropertyDecl()) { in VisitObjCPropertyImplDecl()

123