Lines Matching refs:Setter
24 // as a message-send of the associated 'setter' selector, typically:
215 ObjCMethodDecl *Setter;
222 SyntacticRefExpr(0), InstanceReceiver(0), Getter(0), Setter(0) {
485 ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter();
486 assert(setter && "both setter and getter are null - cannot happen");
488 setter->getSelector().getIdentifierInfoForSlot(0);
504 /// Try to find the most accurate setter declaration for the property
507 /// \return true if a setter was found, in which case Setter
511 if (ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter()) {
512 Setter = setter;
513 SetterSelector = setter->getSelector();
532 if (ObjCMethodDecl *setter =
534 Setter = setter;
626 QualType paramType = (*Setter->param_begin())->getType();
646 if (Setter->isInstanceMethod() || RefExpr->isObjectReceiver()) {
648 GenericLoc, SetterSelector, Setter,
653 SetterSelector, Setter,
709 assert(Getter && "property has no setter and no getter!");
727 // If there's no setter, we have no choice but to try to assign to
744 // If there is a setter, we definitely want to use it.
771 // If there's no setter, we have no choice but to try to assign to
789 // If there is a setter, we definitely want to use it.