/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 | 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/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()
|
H A D | ObjCMT.cpp | 61 void migratePropertyNsReturnsInnerPointer(ASTContext &Ctx, ObjCPropertyDecl *P); 249 const ObjCPropertyDecl *Prop = Method->findPropertyDecl(); in rewriteToPropertyDotSyntax() 608 if (Property->getPropertyImplementation() == ObjCPropertyDecl::Optional) in ClassImplementsAllMethodsAndProperties() 620 } else if (auto *ClassProperty = R.find_first<ObjCPropertyDecl>()) { in ClassImplementsAllMethodsAndProperties() 1264 ObjCPropertyDecl *P) { in migratePropertyNsReturnsInnerPointer()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaObjCProperty.cpp | 66 ObjCPropertyDecl *property) { in checkPropertyDeclWithOwnership() 108 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, in CheckPropertyAgainstProtocol() 116 if (ObjCPropertyDecl *ProtoProp = Proto->getProperty( in CheckPropertyAgainstProtocol() 194 ObjCPropertyDecl *Res = nullptr; in ActOnProperty() 234 if (ObjCPropertyDecl *SuperProp = Super->getProperty( in ActOnProperty() 337 ObjCPropertyDecl *OldProperty, in checkAtomicPropertyMismatch() 338 ObjCPropertyDecl *NewProperty, in checkAtomicPropertyMismatch() 349 auto isImplicitlyReadonlyAtomic = [](ObjCPropertyDecl *Property) -> bool { in checkAtomicPropertyMismatch() 404 ObjCPropertyDecl *SemaObjC::HandlePropertyInClassExtension( in HandlePropertyInClassExtension() 429 ObjCPropertyDecl *PIDecl = CCPrimary->FindPropertyVisibleInPrimaryClass( in HandlePropertyInClassExtension() [all …]
|
H A D | ScopeInfo.cpp | 135 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy() 154 const ObjCPropertyDecl *Prop) { in recordUseOfWeak() 201 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse()
|
H A D | DelayedDiagnostic.cpp | 29 const ObjCPropertyDecl *ObjCProperty, in makeAvailability()
|
H A D | SemaAvailability.cpp | 360 if (isa<ObjCPropertyDecl>(D)) in createAttributeInsertion() 394 const ObjCPropertyDecl *ObjCProperty, in DoEmitAvailabilityWarning() 676 const ObjCPropertyDecl *ObjCProperty, in EmitAvailabilityWarning() 1071 const ObjCPropertyDecl *ObjCPDecl = nullptr; in DiagnoseAvailabilityOfDecl() 1073 if (const ObjCPropertyDecl *PD = MD->findPropertyDecl()) { in DiagnoseAvailabilityOfDecl()
|
H A D | SemaAPINotes.cpp | 100 } else if (auto Property = dyn_cast<ObjCPropertyDecl>(D)) { in applyNullability() 389 } else if (auto Property = dyn_cast<ObjCPropertyDecl>(D)) { in ProcessAPINotes() 437 static void ProcessAPINotes(Sema &S, ObjCPropertyDecl *D, in ProcessAPINotes() 1001 if (auto Property = dyn_cast<ObjCPropertyDecl>(D)) { in ProcessAPINotes()
|
H A D | SemaPseudoObject.cpp | 592 const ObjCPropertyDecl *Prop = RefExpr->getExplicitProperty(); in isWeakProperty() 629 ObjCPropertyDecl *prop = RefExpr->getExplicitProperty(); in findGetter() 658 ObjCPropertyDecl *prop = RefExpr->getExplicitProperty(); in findSetter() 675 if (ObjCPropertyDecl *prop1 = IFace->FindPropertyDeclaration( in findSetter() 700 if (ObjCPropertyDecl *prop = RefExpr->getExplicitProperty()) { in DiagnoseUnsupportedPropertyUse()
|
H A D | SemaObjC.cpp | 842 ObjCPropertyDecl *property = pre->getExplicitProperty(); in findRetainCycleOwner() 1534 } else if (const auto *PD = dyn_cast<ObjCPropertyDecl>(D)) { in checkIBOutletCommon() 1668 } else if (const auto *PD = dyn_cast<ObjCPropertyDecl>(D)) { in handleNSObject() 1826 } else if (const auto *PD = dyn_cast<ObjCPropertyDecl>(D)) { in handleXReturnsXRetainedAttr() 1911 else if (isa<ObjCPropertyDecl>(D)) in handleXReturnsXRetainedAttr() 1955 resultType = cast<ObjCPropertyDecl>(D)->getType(); in handleReturnsInnerPointerAttr()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclObjC.cpp | 126 const ObjCPropertyDecl *Property) const { in HasUserDeclaredSetterMethod() 178 ObjCPropertyDecl * 179 ObjCPropertyDecl::findPropertyDecl(const DeclContext *DC, in findPropertyDecl() 194 if (ObjCPropertyDecl *PD = ObjCPropertyDecl::findPropertyDecl(Ext, in findPropertyDecl() 201 ObjCPropertyDecl *classProp = nullptr; in findPropertyDecl() 204 if (auto *PD = dyn_cast<ObjCPropertyDecl>(*I)) { in findPropertyDecl() 227 ObjCPropertyDecl::getDefaultSynthIvarName(ASTContext &Ctx) const { in getDefaultSynthIvarName() 236 ObjCPropertyDecl *ObjCContainerDecl::getProperty(const IdentifierInfo *Id, in getProperty() 239 if (auto *Prop = dyn_cast<ObjCPropertyDecl>(LookupResult)) { in getProperty() 250 ObjCPropertyDecl *ObjCContainerDecl::FindPropertyDeclaration( in FindPropertyDeclaration() [all …]
|
H A D | ODRDiagsEmitter.cpp | 506 StringRef SecondModule, const ObjCPropertyDecl *FirstProp, in diagnoseSubMismatchObjCProperty() 507 const ObjCPropertyDecl *SecondProp) const { in diagnoseSubMismatchObjCProperty() 2096 cast<ObjCPropertyDecl>(FirstDecl), in diagnoseMismatch() 2097 cast<ObjCPropertyDecl>(SecondDecl))) in diagnoseMismatch() 2202 cast<ObjCPropertyDecl>(FirstDecl), in diagnoseMismatch() 2203 cast<ObjCPropertyDecl>(SecondDecl))) in diagnoseMismatch()
|
/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; 730 class ObjCPropertyDecl : public NamedDecl { 776 ObjCPropertyDecl(DeclContext *DC, SourceLocation L, const IdentifierInfo *Id, in ObjCPropertyDecl() function 786 static ObjCPropertyDecl *Create(ASTContext &C, DeclContext *DC, 793 static ObjCPropertyDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID); 935 static ObjCPropertyDecl *findPropertyDecl(const DeclContext *DC, 962 using prop_iterator = specific_decl_iterator<ObjCPropertyDecl>; 964 llvm::iterator_range<specific_decl_iterator<ObjCPropertyDecl>>; 977 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
|
/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 | 526 const ObjCPropertyDecl *&PDecl) const; 951 void ProcessPropertyDecl(ObjCPropertyDecl *property); 968 ObjCPropertyDecl *HandlePropertyInClassExtension( 977 ObjCPropertyDecl * 987 void DiagnosePropertyMismatch(ObjCPropertyDecl *Property, 988 ObjCPropertyDecl *SuperProperty, 992 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/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); 497 void USRGenerator::VisitObjCPropertyDecl(const ObjCPropertyDecl *D) { in VisitObjCPropertyDecl() 508 if (ObjCPropertyDecl *PD = D->getPropertyDecl()) { in VisitObjCPropertyImplDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
H A D | DeclarationFragments.h | 404 getFragmentsForObjCProperty(const ObjCPropertyDecl *);
|