Lines Matching refs:PIDecl
438 ObjCPropertyDecl *PIDecl = CCPrimary->FindPropertyVisibleInPrimaryClass( in HandlePropertyInClassExtension() local
442 if (PIDecl && isa<ObjCCategoryDecl>(PIDecl->getDeclContext())) { in HandlePropertyInClassExtension()
444 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
449 if (PIDecl) { in HandlePropertyInClassExtension()
453 if (!(PIDecl->isReadOnly() && isReadWrite)) { in HandlePropertyInClassExtension()
460 (PIDecl->getPropertyAttributesAsWritten() & in HandlePropertyInClassExtension()
466 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
471 if (PIDecl->getGetterName() != GetterSel) { in HandlePropertyInClassExtension()
475 << PIDecl->getGetterName() << GetterSel; in HandlePropertyInClassExtension()
476 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
480 GetterSel = PIDecl->getGetterName(); in HandlePropertyInClassExtension()
486 = getOwnershipRule(PIDecl->getPropertyAttributes()); in HandlePropertyInClassExtension()
492 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
501 !(PIDecl->getPropertyAttributesAsWritten() & in HandlePropertyInClassExtension()
503 PIDecl->getType()->getAs<ObjCObjectPointerType>() && in HandlePropertyInClassExtension()
504 PIDecl->getType().getObjCLifetime() == Qualifiers::OCL_None) { in HandlePropertyInClassExtension()
506 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
521 if (!PIDecl) { in HandlePropertyInClassExtension()
526 if (!Context.hasSameType(PIDecl->getType(), PDecl->getType())) { in HandlePropertyInClassExtension()
535 QualType PrimaryClassPropertyT = Context.getCanonicalType(PIDecl->getType()); in HandlePropertyInClassExtension()
544 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
551 checkAtomicPropertyMismatch(*this, PIDecl, PDecl, true); in HandlePropertyInClassExtension()
1423 ObjCPropertyImplDecl *PIDecl = in ActOnPropertyImplDecl() local
1432 PIDecl->setInvalidDecl(); in ActOnPropertyImplDecl()
1445 PIDecl->setGetterMethodDecl(OMD); in ActOnPropertyImplDecl()
1476 PIDecl->setGetterCXXConstructor(ResExpr); in ActOnPropertyImplDecl()
1509 PIDecl->setSetterMethodDecl(OMD); in ActOnPropertyImplDecl()
1553 PIDecl->setSetterCXXAssignment(Res.getAs<Expr>()); in ActOnPropertyImplDecl()
1573 IC->addPropertyImplementation(PIDecl); in ActOnPropertyImplDecl()
1612 CatImplClass->addPropertyImplementation(PIDecl); in ActOnPropertyImplDecl()
1615 if (PIDecl->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic && in ActOnPropertyImplDecl()
1616 PIDecl->getPropertyDecl() && in ActOnPropertyImplDecl()
1617 PIDecl->getPropertyDecl()->isDirectProperty()) { in ActOnPropertyImplDecl()
1619 Diag(PIDecl->getPropertyDecl()->getLocation(), in ActOnPropertyImplDecl()
1624 return PIDecl; in ActOnPropertyImplDecl()
1970 ObjCPropertyImplDecl *PIDecl = dyn_cast_or_null<ObjCPropertyImplDecl>( in DefaultSynthesizeProperties() local
1976 if (PIDecl && !Prop->isUnavailable()) { in DefaultSynthesizeProperties()
2217 if (const ObjCPropertyImplDecl *PIDecl = IMPDecl->FindPropertyImplDecl( in AtomicPropertySetterGetterRules() local
2219 if (PIDecl->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in AtomicPropertySetterGetterRules()
2221 GetterMethod = PIDecl->getGetterMethodDecl(); in AtomicPropertySetterGetterRules()
2222 SetterMethod = PIDecl->getSetterMethodDecl(); in AtomicPropertySetterGetterRules()