| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ObjCPropertyChecker.cpp | 26 : 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 D | CheckObjCDealloc.cpp | 169 const ObjCPropertyDecl * 579 if (PropDecl->getSetterKind() == ObjCPropertyDecl::Retain) in diagnoseMissingReleases() 701 if (PropDecl->getSetterKind() == ObjCPropertyDecl::Weak) in diagnoseExtraRelease() 812 auto *ShadowedPropDecl = dyn_cast<ObjCPropertyDecl>(D); in findShadowedPropertyDecl() 879 const ObjCPropertyDecl *PropDecl; in getDeallocReleaseRequirement() 883 ObjCPropertyDecl::SetterKind SK = PropDecl->getSetterKind(); in getDeallocReleaseRequirement() 888 case ObjCPropertyDecl::Retain: in getDeallocReleaseRequirement() 889 case ObjCPropertyDecl::Copy: in getDeallocReleaseRequirement() 898 case ObjCPropertyDecl::Weak: in getDeallocReleaseRequirement() 901 case ObjCPropertyDecl::Assign: in getDeallocReleaseRequirement() [all …]
|
| H A D | IvarInvalidationChecker.cpp | 60 typedef llvm::DenseMap<const ObjCPropertyDecl*, 63 const ObjCPropertyDecl*> IvarToPropMapTy; 192 const ObjCPropertyDecl *Prop, 300 const ObjCPropertyDecl *Prop, in findPropertyBackingIvar() 346 const ObjCPropertyDecl *PD = IvarToPopertyMap.lookup(IvarDecl); in printIvar() 382 for (const ObjCPropertyDecl *PD : llvm::make_second_range(PropMap)) { in visit() 392 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl()); in visit() 605 const ObjCPropertyDecl *PD = PA->getExplicitProperty(); in checkObjCPropertyRefExpr() 607 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl()); in checkObjCPropertyRefExpr()
|
| H A D | DirectIvarAssignment.cpp | 55 const ObjCPropertyDecl*> IvarToPropertyMapTy; 94 static const ObjCIvarDecl *findPropertyBackingIvar(const ObjCPropertyDecl *PD, in findPropertyBackingIvar() 180 const ObjCPropertyDecl *PD = I->second; in VisitBinaryOperator()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransGCAttrs.cpp | 29 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 D | TransZeroOutPropsInDealloc.cpp | 31 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 D | TransProperties.cpp | 59 ObjCPropertyDecl *PropD; 63 PropData(ObjCPropertyDecl *propD) in PropData() 110 ObjCPropertyDecl *propD = implD->getPropertyDecl(); in doTransform()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 194 ObjCPropertyDecl *Res = nullptr; 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() 1097 ObjCPropertyDecl *property = nullptr; in ActOnPropertyImplDecl() 1804 ObjCPropertyDecl *&PropEntry = in CollectImmediateProperties() 1995 ObjCPropertyDecl *Prop, in DiagnoseUnimplementedAccessor() [all …]
|
| H A D | ScopeInfo.cpp | 134 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy() 153 const ObjCPropertyDecl *Prop) { in recordUseOfWeak() 200 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse()
|
| H A D | DelayedDiagnostic.cpp | 29 const ObjCPropertyDecl *ObjCProperty, in makeAvailability()
|
| H A D | SemaAvailability.cpp | 298 if (isa<ObjCPropertyDecl>(D)) in createAttributeInsertion() 332 const ObjCPropertyDecl *ObjCProperty, in DoEmitAvailabilityWarning() 599 const ObjCPropertyDecl *ObjCProperty, in EmitAvailabilityWarning() 991 const ObjCPropertyDecl *ObjCPDecl = nullptr; in DiagnoseAvailabilityOfDecl() 993 if (const ObjCPropertyDecl *PD = MD->findPropertyDecl()) { in DiagnoseAvailabilityOfDecl()
|
| H A D | SemaPseudoObject.cpp | 589 const ObjCPropertyDecl *Prop = RefExpr->getExplicitProperty(); in isWeakProperty() 626 ObjCPropertyDecl *prop = RefExpr->getExplicitProperty(); in findGetter() 655 ObjCPropertyDecl *prop = RefExpr->getExplicitProperty(); in findSetter() 671 if (ObjCPropertyDecl *prop1 = IFace->FindPropertyDeclaration( in findSetter() 696 if (ObjCPropertyDecl *prop = RefExpr->getExplicitProperty()) { in DiagnoseUnsupportedPropertyUse()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 125 const ObjCPropertyDecl *Property) const { in HasUserDeclaredSetterMethod() 177 ObjCPropertyDecl * 193 if (ObjCPropertyDecl *PD = ObjCPropertyDecl::findPropertyDecl(Ext, in findPropertyDecl() 200 ObjCPropertyDecl *classProp = nullptr; in findPropertyDecl() 268 if (ObjCPropertyDecl *PD = in FindPropertyDeclaration() 381 ObjCPropertyDecl * 392 if (ObjCPropertyDecl *PD = in FindPropertyVisibleInPrimaryClass() 1377 const ObjCPropertyDecl * 2366 void ObjCPropertyDecl::anchor() {} in anchor() 2368 ObjCPropertyDecl *ObjCPropertyDecl::Create(ASTContext &C, DeclContext *DC, in Create() [all …]
|
| H A D | ODRDiagsEmitter.cpp | 506 StringRef SecondModule, const ObjCPropertyDecl *FirstProp, in diagnoseSubMismatchObjCProperty() 507 const ObjCPropertyDecl *SecondProp) const { in diagnoseSubMismatchObjCProperty() 2091 cast<ObjCPropertyDecl>(FirstDecl), in diagnoseMismatch() 2092 cast<ObjCPropertyDecl>(SecondDecl))) in diagnoseMismatch() 2197 cast<ObjCPropertyDecl>(FirstDecl), in diagnoseMismatch() 2198 cast<ObjCPropertyDecl>(SecondDecl))) in diagnoseMismatch()
|
| H A D | Comment.cpp | 316 else if (const auto *PD = dyn_cast<ObjCPropertyDecl>(CommentDecl)) in fill()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 54 class ObjCPropertyDecl; variable 729 class ObjCPropertyDecl : public NamedDecl { 785 static ObjCPropertyDecl * 974 filtered_decl_iterator<ObjCPropertyDecl, 991 filtered_decl_iterator<ObjCPropertyDecl, 1077 ObjCPropertyDecl * 1083 ObjCPropertyDecl *>; 1797 ObjCPropertyDecl 2821 ObjCPropertyDecl *PropertyDecl; 2840 ObjCPropertyDecl *property, in ObjCPropertyImplDecl() [all …]
|
| H A D | ODRDiagsEmitter.h | 192 const ObjCPropertyDecl *FirstProp, 193 const ObjCPropertyDecl *SecondProp) const;
|
| H A D | ASTMutationListener.h | 33 class ObjCPropertyDecl; variable
|
| H A D | ExprObjC.h | 651 ObjCPropertyRefExpr(ObjCPropertyDecl *PD, QualType t, ExprValueKind VK, in ObjCPropertyRefExpr() 659 ObjCPropertyRefExpr(ObjCPropertyDecl *PD, QualType t, ExprValueKind VK, in ObjCPropertyRefExpr() 706 ObjCPropertyDecl *getExplicitProperty() const { in getExplicitProperty() 708 return cast<ObjCPropertyDecl>(PropertyOrGetter.getPointer()); in getExplicitProperty() 810 void setExplicitProperty(ObjCPropertyDecl *D, unsigned methRefFlags) { in setExplicitProperty()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | DelayedDiagnostic.h | 44 class ObjCPropertyDecl; variable 140 const ObjCPropertyDecl *ObjCProperty, 225 const ObjCPropertyDecl *getObjCProperty() const { in getObjCProperty() 238 const ObjCPropertyDecl *ObjCProperty;
|
| H A D | ScopeInfo.h | 52 class ObjCPropertyDecl; variable 292 WeakObjectProfileTy(const Expr *Base, const ObjCPropertyDecl *Property); 420 const ObjCPropertyDecl *Prop);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 746 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar() 789 const ObjCPropertyDecl *Prop = nullptr; in createObjCPropertyGetter() 798 if (const ObjCPropertyDecl *Candidate = PI->getPropertyDecl()) { in createObjCPropertyGetter()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexDecl.cpp | 140 const ObjCPropertyDecl *AssociatedProp = nullptr) { in handleObjCMethod() 523 bool VisitObjCPropertyDecl(const ObjCPropertyDecl *D) { in VisitObjCPropertyDecl() 539 ObjCPropertyDecl *PD = D->getPropertyDecl(); in VisitObjCPropertyImplDecl()
|
| H A D | USRGeneration.cpp | 97 void VisitObjCPropertyDecl(const ObjCPropertyDecl *D); 486 void USRGenerator::VisitObjCPropertyDecl(const ObjCPropertyDecl *D) { in VisitObjCPropertyDecl() 497 if (ObjCPropertyDecl *PD = D->getPropertyDecl()) { in VisitObjCPropertyImplDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
| H A D | DeclarationFragments.h | 366 getFragmentsForObjCProperty(const ObjCPropertyDecl *);
|