Lines Matching refs:PIDecl

429   ObjCPropertyDecl *PIDecl = CCPrimary->FindPropertyVisibleInPrimaryClass(  in HandlePropertyInClassExtension()  local
433 if (PIDecl && isa<ObjCCategoryDecl>(PIDecl->getDeclContext())) { in HandlePropertyInClassExtension()
435 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
440 if (PIDecl) { in HandlePropertyInClassExtension()
444 if (!(PIDecl->isReadOnly() && isReadWrite)) { in HandlePropertyInClassExtension()
451 (PIDecl->getPropertyAttributesAsWritten() & in HandlePropertyInClassExtension()
457 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
462 if (PIDecl->getGetterName() != GetterSel) { in HandlePropertyInClassExtension()
466 << PIDecl->getGetterName() << GetterSel; in HandlePropertyInClassExtension()
467 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
471 GetterSel = PIDecl->getGetterName(); in HandlePropertyInClassExtension()
477 = getOwnershipRule(PIDecl->getPropertyAttributes()); in HandlePropertyInClassExtension()
483 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
492 !(PIDecl->getPropertyAttributesAsWritten() & in HandlePropertyInClassExtension()
494 PIDecl->getType()->getAs<ObjCObjectPointerType>() && in HandlePropertyInClassExtension()
495 PIDecl->getType().getObjCLifetime() == Qualifiers::OCL_None) { in HandlePropertyInClassExtension()
497 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
512 if (!PIDecl) { in HandlePropertyInClassExtension()
517 if (!Context.hasSameType(PIDecl->getType(), PDecl->getType())) { in HandlePropertyInClassExtension()
526 QualType PrimaryClassPropertyT = Context.getCanonicalType(PIDecl->getType()); in HandlePropertyInClassExtension()
536 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
543 checkAtomicPropertyMismatch(SemaRef, PIDecl, PDecl, true); in HandlePropertyInClassExtension()
1403 ObjCPropertyImplDecl *PIDecl = ObjCPropertyImplDecl::Create( in ActOnPropertyImplDecl() local
1410 PIDecl->setInvalidDecl(); in ActOnPropertyImplDecl()
1423 PIDecl->setGetterMethodDecl(OMD); in ActOnPropertyImplDecl()
1454 PIDecl->setGetterCXXConstructor(ResExpr); in ActOnPropertyImplDecl()
1487 PIDecl->setSetterMethodDecl(OMD); in ActOnPropertyImplDecl()
1531 PIDecl->setSetterCXXAssignment(Res.getAs<Expr>()); in ActOnPropertyImplDecl()
1551 IC->addPropertyImplementation(PIDecl); in ActOnPropertyImplDecl()
1590 CatImplClass->addPropertyImplementation(PIDecl); in ActOnPropertyImplDecl()
1593 if (PIDecl->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic && in ActOnPropertyImplDecl()
1594 PIDecl->getPropertyDecl() && in ActOnPropertyImplDecl()
1595 PIDecl->getPropertyDecl()->isDirectProperty()) { in ActOnPropertyImplDecl()
1597 Diag(PIDecl->getPropertyDecl()->getLocation(), in ActOnPropertyImplDecl()
1602 return PIDecl; in ActOnPropertyImplDecl()
1948 ObjCPropertyImplDecl *PIDecl = dyn_cast_or_null<ObjCPropertyImplDecl>( in DefaultSynthesizeProperties() local
1954 if (PIDecl && !Prop->isUnavailable()) { in DefaultSynthesizeProperties()
2195 if (const ObjCPropertyImplDecl *PIDecl = IMPDecl->FindPropertyImplDecl( in AtomicPropertySetterGetterRules() local
2197 if (PIDecl->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in AtomicPropertySetterGetterRules()
2199 GetterMethod = PIDecl->getGetterMethodDecl(); in AtomicPropertySetterGetterRules()
2200 SetterMethod = PIDecl->getSetterMethodDecl(); in AtomicPropertySetterGetterRules()