Lines Matching refs:setter
23 // as a message-send of the associated 'setter' selector, typically:
255 /// setter call or the value that was passed to the setter?
617 ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter();
618 assert(setter && "both setter and getter are null - cannot happen");
620 setter->getSelector().getIdentifierInfoForSlot(0);
634 /// Try to find the most accurate setter declaration for the property
637 /// \return true if a setter was found, in which case Setter
641 if (ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter()) {
642 Setter = setter;
643 SetterSelector = setter->getSelector();
662 if (ObjCMethodDecl *setter =
664 if (setter->isPropertyAccessor() && warn)
666 dyn_cast<ObjCInterfaceDecl>(setter->getDeclContext())) {
676 if (prop != prop1 && (prop1->getSetterMethodDecl() == setter)) {
678 << prop << prop1 << setter->getSelector();
683 Setter = setter;
876 // The property has no setter and no getter! This can happen if the type is
898 // If there's no setter, we have no choice but to try to assign to
915 // If there is a setter, we definitely want to use it.
942 // If there's no setter, we have no choice but to try to assign to
960 // If there is a setter, we definitely want to use it.
1503 << 1 /* setter */ << RefExpr->getPropertyDecl();
1518 diag::err_cannot_find_suitable_accessor) << 1 /* setter */