Lines Matching refs:Setter
1417 // will look for the matching setter, in case it is needed.
1421 ObjCMethodDecl *Setter = IFace->lookupInstanceMethod(SetterSel);
1424 if (!Setter)
1425 Setter = LookupMethodInQualifiedType(SetterSel, OPT, true);
1427 if (!Setter) {
1430 Setter = IFace->lookupPrivateMethod(SetterSel);
1433 if (!Setter)
1434 Setter = IFace->getCategoryInstanceMethod(SetterSel);
1436 if (Setter && DiagnoseUseOfDecl(Setter, MemberLoc))
1439 if (Getter || Setter) {
1441 return Owned(new (Context) ObjCPropertyRefExpr(Getter, Setter,
1447 return Owned(new (Context) ObjCPropertyRefExpr(Getter, Setter,
1491 if (Setter)
1492 Diag(Setter->getLocation(), diag::note_getter_unavailable)
1560 // Look for the matching setter, in case it is needed.
1565 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel);
1566 if (!Setter) {
1572 Setter = ImpDecl->getClassMethod(SetterSel);
1575 if (!Setter)
1576 Setter = IFace->getCategoryClassMethod(SetterSel);
1578 if (Setter && DiagnoseUseOfDecl(Setter, propertyNameLoc))
1581 if (Getter || Setter) {
1583 return Owned(new (Context) ObjCPropertyRefExpr(Getter, Setter,
1590 return Owned(new (Context) ObjCPropertyRefExpr(Getter, Setter,