Home | History | Annotate | Download | only in Sema

Lines Matching defs:Setter

1834   // will look for the matching setter, in case it is needed.
1838 ObjCMethodDecl *Setter = IFace->lookupInstanceMethod(SetterSel);
1841 if (!Setter)
1842 Setter = LookupMethodInQualifiedType(SetterSel, OPT, true);
1844 if (!Setter) {
1847 Setter = IFace->lookupPrivateMethod(SetterSel);
1850 if (Setter && DiagnoseUseOfDecl(Setter, MemberLoc))
1853 // Special warning if member name used in a property-dot for a setter accessor
1856 if (Setter && Setter->isImplicit() && Setter->isPropertyAccessor() &&
1859 if (const ObjCPropertyDecl *PDecl = Setter->findPropertyDecl()) {
1861 // user named setter.
1870 if (Getter || Setter) {
1873 ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue,
1877 ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue,
1932 if (Setter)
1933 Diag(Setter->getLocation(), diag::note_getter_unavailable)
2002 // Look for the matching setter, in case it is needed.
2008 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel);
2009 if (!Setter) {
2012 Setter = IFace->lookupPrivateClassMethod(SetterSel);
2015 if (!Setter)
2016 Setter = IFace->getCategoryClassMethod(SetterSel);
2018 if (Setter && DiagnoseUseOfDecl(Setter, propertyNameLoc))
2021 if (Getter || Setter) {
2024 ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue,
2029 Getter, Setter, Context.PseudoObjectTy, VK_LValue, OK_ObjCProperty,