Lines Matching defs:PIDecl
427 ObjCPropertyDecl *PIDecl = CCPrimary->FindPropertyVisibleInPrimaryClass(
431 if (PIDecl && isa<ObjCCategoryDecl>(PIDecl->getDeclContext())) {
433 Diag(PIDecl->getLocation(), diag::note_property_declare);
438 if (PIDecl) {
442 if (!(PIDecl->isReadOnly() && isReadWrite)) {
449 (PIDecl->getPropertyAttributesAsWritten() &
455 Diag(PIDecl->getLocation(), diag::note_property_declare);
460 if (PIDecl->getGetterName() != GetterSel) {
464 << PIDecl->getGetterName() << GetterSel;
465 Diag(PIDecl->getLocation(), diag::note_property_declare);
469 GetterSel = PIDecl->getGetterName();
475 = getOwnershipRule(PIDecl->getPropertyAttributes());
481 Diag(PIDecl->getLocation(), diag::note_property_declare);
490 !(PIDecl->getPropertyAttributesAsWritten() &
492 PIDecl->getType()->getAs<ObjCObjectPointerType>() &&
493 PIDecl->getType().getObjCLifetime() == Qualifiers::OCL_None) {
495 Diag(PIDecl->getLocation(), diag::note_property_declare);
510 if (!PIDecl) {
515 if (!Context.hasSameType(PIDecl->getType(), PDecl->getType())) {
524 QualType PrimaryClassPropertyT = Context.getCanonicalType(PIDecl->getType());
534 Diag(PIDecl->getLocation(), diag::note_property_declare);
541 checkAtomicPropertyMismatch(SemaRef, PIDecl, PDecl, true);
1401 ObjCPropertyImplDecl *PIDecl = ObjCPropertyImplDecl::Create(
1408 PIDecl->setInvalidDecl();
1421 PIDecl->setGetterMethodDecl(OMD);
1452 PIDecl->setGetterCXXConstructor(ResExpr);
1485 PIDecl->setSetterMethodDecl(OMD);
1529 PIDecl->setSetterCXXAssignment(Res.getAs<Expr>());
1549 IC->addPropertyImplementation(PIDecl);
1588 CatImplClass->addPropertyImplementation(PIDecl);
1591 if (PIDecl->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic &&
1592 PIDecl->getPropertyDecl() &&
1593 PIDecl->getPropertyDecl()->isDirectProperty()) {
1595 Diag(PIDecl->getPropertyDecl()->getLocation(),
1600 return PIDecl;
1946 ObjCPropertyImplDecl *PIDecl = dyn_cast_or_null<ObjCPropertyImplDecl>(
1952 if (PIDecl && !Prop->isUnavailable()) {
2193 if (const ObjCPropertyImplDecl *PIDecl = IMPDecl->FindPropertyImplDecl(
2195 if (PIDecl->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic)
2197 GetterMethod = PIDecl->getGetterMethodDecl();
2198 SetterMethod = PIDecl->getSetterMethodDecl();