Home | History | Annotate | Download | only in Sema

Lines Matching refs:Prop

1226       ObjCPropertyDecl *Prop = (*P);
1227 PropMap[Prop->getIdentifier()] = Prop;
1239 ObjCPropertyDecl *Prop = (*P);
1240 PropMap[Prop->getIdentifier()] = Prop;
1250 ObjCPropertyDecl *Prop = (*P);
1251 ObjCPropertyDecl *PropertyFromSuper = SuperPropMap[Prop->getIdentifier()];
1255 PropertyFromSuper->getIdentifier() != Prop->getIdentifier()) {
1256 ObjCPropertyDecl *&PropEntry = PropMap[Prop->getIdentifier()];
1258 PropEntry = Prop;
1276 ObjCPropertyDecl *Prop = (*P);
1277 PropMap[Prop->getIdentifier()] = Prop;
1287 ObjCPropertyDecl *Prop = (*P);
1288 if (!PropMap.count(Prop->getIdentifier()))
1289 PropMap[Prop->getIdentifier()] = Prop;
1319 ObjCPropertyDecl *Prop = (*P);
1320 if (Prop->getIdentifier() == II)
1321 return Prop;
1327 ObjCPropertyDecl *Prop = LookupPropertyDecl((*PI), II);
1328 if (Prop)
1329 return Prop;
1336 ObjCPropertyDecl *Prop = (*P);
1337 if (Prop->getIdentifier() == II)
1338 return Prop;
1343 ObjCPropertyDecl *Prop = LookupPropertyDecl((*PI), II);
1344 if (Prop)
1345 return Prop;
1351 static IdentifierInfo * getDefaultSynthIvarName(ObjCPropertyDecl *Prop,
1356 os << '_' << Prop->getIdentifier()->getName();
1375 ObjCPropertyDecl *Prop = P->second;
1377 if (SuperPropMap[Prop->getIdentifier()])
1380 if (Prop->isInvalidDecl() ||
1381 Prop->getPropertyImplementation() == ObjCPropertyDecl::Optional ||
1382 IMPDecl->FindPropertyImplIvarDecl(Prop->getIdentifier()))
1385 if (IMPDecl->FindPropertyImplDecl(Prop->getIdentifier()))
1387 if (IMPDecl->getInstanceMethod(Prop->getGetterName())) {
1388 if (Prop->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_readonly)
1390 if (IMPDecl->getInstanceMethod(Prop->getSetterName()))
1393 if (isa<ObjCProtocolDecl>(Prop->getDeclContext())) {
1397 Diag(Prop->getLocation(), diag::note_property_declare);
1407 /* property = */ Prop->getIdentifier(),
1408 /* ivar = */ getDefaultSynthIvarName(Prop, Context),
1444 ObjCPropertyDecl *Prop = P->second;
1446 if (Prop->isInvalidDecl() ||
1447 Prop->getPropertyImplementation() == ObjCPropertyDecl::Optional ||
1448 PropImplMap.count(Prop) || Prop->hasAttr<UnavailableAttr>())
1450 if (!InsMap.count(Prop->getGetterName())) {
1455 << Prop->getDeclName() << Prop->getGetterName();
1456 Diag(Prop->getLocation(),
1465 if (!Prop->isReadOnly() && !InsMap.count(Prop->getSetterName())) {
1470 << Prop->getDeclName() << Prop->getSetterName();
1471 Diag(Prop->getLocation(),