Lines Matching refs:ObjCPropertyDecl
65 ObjCPropertyDecl *property) { in checkPropertyDeclWithOwnership()
107 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, in CheckPropertyAgainstProtocol()
115 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 *
438 ObjCPropertyDecl *PIDecl = CCPrimary->FindPropertyVisibleInPrimaryClass( in HandlePropertyInClassExtension()
439 PropertyId, ObjCPropertyDecl::getQueryKind(isClassProperty)); in HandlePropertyInClassExtension()
512 ObjCPropertyDecl *PDecl = CreatePropertyDecl(S, CDecl, AtLoc, LParenLoc, in HandlePropertyInClassExtension()
558 ObjCPropertyDecl *Sema::CreatePropertyDecl(Scope *S, in CreatePropertyDecl()
615 ObjCPropertyDecl *PDecl = ObjCPropertyDecl::Create(Context, DC, in CreatePropertyDecl()
624 if (ObjCPropertyDecl *prevDecl = ObjCPropertyDecl::findPropertyDecl( in CreatePropertyDecl()
625 DC, PropertyId, ObjCPropertyDecl::getQueryKind(isClassProperty))) { in CreatePropertyDecl()
693 PDecl->setPropertyImplementation(ObjCPropertyDecl::Required); in CreatePropertyDecl()
695 PDecl->setPropertyImplementation(ObjCPropertyDecl::Optional); in CreatePropertyDecl()
722 ObjCPropertyDecl *property, in checkARCPropertyImpl()
801 ObjCPropertyDecl *property, ObjCIvarDecl *ivar) { in setImpliedPropertyAttributeForReadOnlyProperty()
837 static ObjCPropertyDecl *
840 ObjCPropertyDecl *Property) { in SelectPropertyForSynthesisFromProtocols()
864 ObjCPropertyDecl *OriginalProperty = Property; in SelectPropertyForSynthesisFromProtocols()
890 const ObjCPropertyDecl *Prop; in SelectPropertyForSynthesisFromProtocols()
895 for (ObjCPropertyDecl *Prop : Properties) { in SelectPropertyForSynthesisFromProtocols()
1014 static bool hasWrittenStorageAttribute(ObjCPropertyDecl *Prop, in hasWrittenStorageAttribute()
1032 if (ObjCPropertyDecl *OrigProp = dyn_cast<ObjCPropertyDecl>(Found)) in hasWrittenStorageAttribute()
1038 if (ObjCPropertyDecl *OrigProp = Proto->FindPropertyDeclaration( in hasWrittenStorageAttribute()
1097 ObjCPropertyDecl *property = nullptr; in ActOnPropertyImplDecl()
1145 if (auto *ExtProp = R.find_first<ObjCPropertyDecl>()) { in ActOnPropertyImplDecl()
1635 Sema::DiagnosePropertyMismatch(ObjCPropertyDecl *Property, in DiagnosePropertyMismatch()
1636 ObjCPropertyDecl *SuperProperty, in DiagnosePropertyMismatch()
1709 bool Sema::DiagnosePropertyAccessorMismatch(ObjCPropertyDecl *property, in DiagnosePropertyAccessorMismatch()
1798 ObjCPropertyDecl *PropertyFromSuper = in CollectImmediateProperties()
1805 ObjCPropertyDecl *&PropEntry = in CollectImmediateProperties()
1866 ObjCPropertyDecl *Prop) { in SuperClassImplementsProperty()
1900 ObjCPropertyDecl *Prop = PropertyOrder[i]; in DefaultSynthesizeProperties()
1904 Prop->getPropertyImplementation() == ObjCPropertyDecl::Optional) in DefaultSynthesizeProperties()
1926 ObjCPropertyDecl *PropInSuperClass = in DefaultSynthesizeProperties()
1998 ObjCPropertyDecl *Prop, in DiagnoseUnimplementedAccessor()
2098 llvm::DenseSet<ObjCPropertyDecl *> PropImplMap; in DiagnoseUnimplementedProperties()
2122 ObjCPropertyDecl *Prop = P->second; in DiagnoseUnimplementedProperties()
2125 Prop->getPropertyImplementation() == ObjCPropertyDecl::Optional || in DiagnoseUnimplementedProperties()
2180 const ObjCPropertyDecl *Property = I->second; in AtomicPropertySetterGetterRules()
2265 const ObjCPropertyDecl *PD = PID->getPropertyDecl(); in DiagnoseOwningPropertyGetterSynthesis()
2364 ObjCPropertyDecl *Property) { in AddPropertyAttrs()
2378 void Sema::ProcessPropertyDecl(ObjCPropertyDecl *property) { in ProcessPropertyDecl()
2494 (property->getPropertyImplementation() == ObjCPropertyDecl::Optional) in ProcessPropertyDecl()
2548 ObjCPropertyDecl::Optional) ? in ProcessPropertyDecl()
2652 ObjCPropertyDecl *PropertyDecl = cast<ObjCPropertyDecl>(PDecl); in CheckObjCPropertyAttributes()