| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckObjCDealloc.cpp | 71 const ObjCPropertyDecl **PD) { in isSynthesizedRetainableProperty() 169 const ObjCPropertyDecl * 571 const ObjCPropertyDecl *PropDecl = PropImpl->getPropertyDecl(); in diagnoseMissingReleases() 573 assert(PropDecl->getSetterKind() == ObjCPropertyDecl::Copy || in diagnoseMissingReleases() 574 PropDecl->getSetterKind() == ObjCPropertyDecl::Retain); in diagnoseMissingReleases() 579 if (PropDecl->getSetterKind() == ObjCPropertyDecl::Retain) in diagnoseMissingReleases() 670 const ObjCPropertyDecl *PropDecl = findShadowedPropertyDecl(PropImpl); in diagnoseExtraRelease() 685 assert(PropDecl->getSetterKind() == ObjCPropertyDecl::Weak || in diagnoseExtraRelease() 686 (PropDecl->getSetterKind() == ObjCPropertyDecl::Assign && in diagnoseExtraRelease() 701 if (PropDecl->getSetterKind() == ObjCPropertyDecl::Weak) in diagnoseExtraRelease() [all …]
|
| H A D | IvarInvalidationChecker.cpp | 59 typedef llvm::DenseMap<const ObjCPropertyDecl*, 62 const ObjCPropertyDecl*> IvarToPropMapTy; 191 const ObjCPropertyDecl *Prop, 299 const ObjCPropertyDecl *Prop, in findPropertyBackingIvar() 345 const ObjCPropertyDecl *PD = IvarToPopertyMap.lookup(IvarDecl); in printIvar() 381 for (const ObjCPropertyDecl *PD : llvm::make_second_range(PropMap)) { in visit() 391 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl()); in visit() 604 const ObjCPropertyDecl *PD = PA->getExplicitProperty(); in checkObjCPropertyRefExpr() 606 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/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 64 ObjCPropertyDecl *property) { in checkPropertyDeclWithOwnership() 106 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, in CheckPropertyAgainstProtocol() 114 if (ObjCPropertyDecl *ProtoProp = Proto->getProperty( in CheckPropertyAgainstProtocol() 195 ObjCPropertyDecl *Res = nullptr; in ActOnProperty() 235 if (ObjCPropertyDecl *SuperProp = Super->getProperty( in ActOnProperty() 338 ObjCPropertyDecl *OldProperty, in checkAtomicPropertyMismatch() 339 ObjCPropertyDecl *NewProperty, in checkAtomicPropertyMismatch() 350 auto isImplicitlyReadonlyAtomic = [](ObjCPropertyDecl *Property) -> bool { in checkAtomicPropertyMismatch() 405 ObjCPropertyDecl *SemaObjC::HandlePropertyInClassExtension( in HandlePropertyInClassExtension() 430 ObjCPropertyDecl *PIDecl = CCPrimary->FindPropertyVisibleInPrimaryClass( in HandlePropertyInClassExtension() [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 | 379 if (isa<ObjCPropertyDecl>(D)) in createAttributeInsertion() 413 const ObjCPropertyDecl *ObjCProperty, in DoEmitAvailabilityWarning() 719 const ObjCPropertyDecl *ObjCProperty, in EmitAvailabilityWarning() 1141 const ObjCPropertyDecl *ObjCPDecl = nullptr; in DiagnoseAvailabilityOfDecl() 1143 if (const ObjCPropertyDecl *PD = MD->findPropertyDecl()) { in DiagnoseAvailabilityOfDecl()
|
| H A D | SemaAPINotes.cpp | 379 } else if (auto property = dyn_cast<ObjCPropertyDecl>(D)) { in ApplyAPINotesType() 434 } else if (auto Property = dyn_cast<ObjCPropertyDecl>(D)) { in ApplyNullability() 507 static void ProcessAPINotes(Sema &S, ObjCPropertyDecl *D, in ProcessAPINotes() 1147 if (auto Property = dyn_cast<ObjCPropertyDecl>(D)) { in ProcessAPINotes()
|
| H A D | SemaPseudoObject.cpp | 590 const ObjCPropertyDecl *Prop = RefExpr->getExplicitProperty(); in isWeakProperty() 627 ObjCPropertyDecl *prop = RefExpr->getExplicitProperty(); in findGetter() 656 ObjCPropertyDecl *prop = RefExpr->getExplicitProperty(); in findSetter() 673 if (ObjCPropertyDecl *prop1 = IFace->FindPropertyDeclaration( in findSetter() 698 if (ObjCPropertyDecl *prop = RefExpr->getExplicitProperty()) { in DiagnoseUnsupportedPropertyUse()
|
| H A D | SemaObjC.cpp | 838 ObjCPropertyDecl *property = pre->getExplicitProperty(); in findRetainCycleOwner() 1530 } else if (const auto *PD = dyn_cast<ObjCPropertyDecl>(D)) { in checkIBOutletCommon() 1666 } else if (const auto *PD = dyn_cast<ObjCPropertyDecl>(D)) { in handleNSObject() 1824 } else if (const auto *PD = dyn_cast<ObjCPropertyDecl>(D)) { in handleXReturnsXRetainedAttr() 1909 else if (isa<ObjCPropertyDecl>(D)) in handleXReturnsXRetainedAttr() 1953 resultType = cast<ObjCPropertyDecl>(D)->getType(); in handleReturnsInnerPointerAttr()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 123 const ObjCPropertyDecl *Property) const { in HasUserDeclaredSetterMethod() 175 ObjCPropertyDecl * 176 ObjCPropertyDecl::findPropertyDecl(const DeclContext *DC, in findPropertyDecl() 191 if (ObjCPropertyDecl *PD = ObjCPropertyDecl::findPropertyDecl(Ext, in findPropertyDecl() 198 ObjCPropertyDecl *classProp = nullptr; in findPropertyDecl() 201 if (auto *PD = dyn_cast<ObjCPropertyDecl>(*I)) { in findPropertyDecl() 224 ObjCPropertyDecl::getDefaultSynthIvarName(ASTContext &Ctx) const { in getDefaultSynthIvarName() 233 ObjCPropertyDecl *ObjCContainerDecl::getProperty(const IdentifierInfo *Id, in getProperty() 236 if (auto *Prop = dyn_cast<ObjCPropertyDecl>(LookupResult)) { in getProperty() 247 ObjCPropertyDecl *ObjCContainerDecl::FindPropertyDeclaration( in FindPropertyDeclaration() [all …]
|
| H A D | ODRDiagsEmitter.cpp | 504 StringRef SecondModule, const ObjCPropertyDecl *FirstProp, in diagnoseSubMismatchObjCProperty() 505 const ObjCPropertyDecl *SecondProp) const { in diagnoseSubMismatchObjCProperty() 2094 cast<ObjCPropertyDecl>(FirstDecl), in diagnoseMismatch() 2095 cast<ObjCPropertyDecl>(SecondDecl))) in diagnoseMismatch() 2200 cast<ObjCPropertyDecl>(FirstDecl), in diagnoseMismatch() 2201 cast<ObjCPropertyDecl>(SecondDecl))) in diagnoseMismatch()
|
| H A D | Comment.cpp | 323 else if (const auto *PD = dyn_cast<ObjCPropertyDecl>(CommentDecl)) in fill()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 54 class ObjCPropertyDecl; variable 493 const ObjCPropertyDecl *findPropertyDecl(bool CheckOverrides = true) const; 728 class ObjCPropertyDecl : public NamedDecl { 774 ObjCPropertyDecl(DeclContext *DC, SourceLocation L, const IdentifierInfo *Id, in ObjCPropertyDecl() function 784 static ObjCPropertyDecl *Create(ASTContext &C, DeclContext *DC, 791 static ObjCPropertyDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID); 933 static ObjCPropertyDecl *findPropertyDecl(const DeclContext *DC, 960 using prop_iterator = specific_decl_iterator<ObjCPropertyDecl>; 962 llvm::iterator_range<specific_decl_iterator<ObjCPropertyDecl>>; 975 filtered_decl_iterator<ObjCPropertyDecl, [all …]
|
| H A D | ODRDiagsEmitter.h | 192 const ObjCPropertyDecl *FirstProp, 193 const ObjCPropertyDecl *SecondProp) const;
|
| H A D | ASTMutationListener.h | 34 class ObjCPropertyDecl; variable
|
| H A D | ExprObjC.h | 649 ObjCPropertyRefExpr(ObjCPropertyDecl *PD, QualType t, ExprValueKind VK, in ObjCPropertyRefExpr() 657 ObjCPropertyRefExpr(ObjCPropertyDecl *PD, QualType t, ExprValueKind VK, in ObjCPropertyRefExpr() 704 ObjCPropertyDecl *getExplicitProperty() const { in getExplicitProperty() 706 return cast<ObjCPropertyDecl>(PropertyOrGetter.getPointer()); in getExplicitProperty() 804 void setExplicitProperty(ObjCPropertyDecl *D, unsigned methRefFlags) { in setExplicitProperty()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | DelayedDiagnostic.h | 44 class ObjCPropertyDecl; variable 142 const ObjCPropertyDecl *ObjCProperty, 227 const ObjCPropertyDecl *getObjCProperty() const { in getObjCProperty() 240 const ObjCPropertyDecl *ObjCProperty;
|
| H A D | SemaObjC.h | 518 const ObjCPropertyDecl *&PDecl) const; 944 void ProcessPropertyDecl(ObjCPropertyDecl *property); 961 ObjCPropertyDecl *HandlePropertyInClassExtension( 970 ObjCPropertyDecl * 980 void DiagnosePropertyMismatch(ObjCPropertyDecl *Property, 981 ObjCPropertyDecl *SuperProperty, 985 bool DiagnosePropertyAccessorMismatch(ObjCPropertyDecl *PD,
|
| H A D | ScopeInfo.h | 52 class ObjCPropertyDecl; variable 295 WeakObjectProfileTy(const Expr *Base, const ObjCPropertyDecl *Property); 423 const ObjCPropertyDecl *Prop);
|
| H A D | Attr.h | 49 isa<TypedefNameDecl>(D) || isa<ObjCPropertyDecl>(D); in hasDeclarator()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | RawPtrRefMemberChecker.cpp | 177 const ObjCPropertyDecl *PD) const { in visitObjCPropertyDecl() 222 isPropImplUnsafePtr(const ObjCPropertyDecl *PD) const { in isPropImplUnsafePtr() 233 !PD->isReadOnly() && PD->getSetterKind() == ObjCPropertyDecl::Assign; in isPropImplUnsafePtr() 284 if (isa<ObjCPropertyDecl>(Member)) in reportBug()
|
| /freebsd/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/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 | 93 void VisitObjCPropertyDecl(const ObjCPropertyDecl *D); 492 void USRGenerator::VisitObjCPropertyDecl(const ObjCPropertyDecl *D) { in VisitObjCPropertyDecl() 503 if (ObjCPropertyDecl *PD = D->getPropertyDecl()) { in VisitObjCPropertyImplDecl()
|