Lines Matching defs:setter
23 // as a message-send of the associated 'setter' selector, typically:
253 /// setter call or the value that was passed to the setter?
615 ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter();
616 assert(setter && "both setter and getter are null - cannot happen");
618 setter->getSelector().getIdentifierInfoForSlot(0);
632 /// Try to find the most accurate setter declaration for the property
635 /// \return true if a setter was found, in which case Setter
639 if (ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter()) {
640 Setter = setter;
641 SetterSelector = setter->getSelector();
660 if (ObjCMethodDecl *setter =
662 if (setter->isPropertyAccessor() && warn)
664 dyn_cast<ObjCInterfaceDecl>(setter->getDeclContext())) {
675 if (prop != prop1 && (prop1->getSetterMethodDecl() == setter)) {
677 << prop << prop1 << setter->getSelector();
682 Setter = setter;
874 // The property has no setter and no getter! This can happen if the type is
896 // If there's no setter, we have no choice but to try to assign to
913 // If there is a setter, we definitely want to use it.
940 // If there's no setter, we have no choice but to try to assign to
958 // If there is a setter, we definitely want to use it.
1416 << 1 /* setter */ << RefExpr->getPropertyDecl();
1431 diag::err_cannot_find_suitable_accessor) << 1 /* setter */