Home | History | Annotate | Download | only in Sema

Lines Matching defs:Setter

24 //  as a message-send of the associated 'setter' selector, typically:
260 ObjCMethodDecl *Setter;
267 SyntacticRefExpr(0), InstanceReceiver(0), Getter(0), Setter(0) {
562 ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter();
563 assert(setter && "both setter and getter are null - cannot happen");
565 setter->getSelector().getIdentifierInfoForSlot(0);
581 /// Try to find the most accurate setter declaration for the property
584 /// \return true if a setter was found, in which case Setter
588 if (ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter()) {
589 Setter = setter;
590 SetterSelector = setter->getSelector();
609 if (ObjCMethodDecl *setter =
611 if (setter->isPropertyAccessor() && warn)
613 dyn_cast<ObjCInterfaceDecl>(setter->getDeclContext())) {
622 if (prop != prop1 && (prop1->getSetterMethodDecl() == setter)) {
624 << prop->getName() << prop1->getName() << setter->getSelector();
629 Setter = setter;
720 QualType paramType = (*Setter->param_begin())->getType();
740 if (Setter->isInstanceMethod() || RefExpr->isObjectReceiver()) {
742 GenericLoc, SetterSelector, Setter,
747 SetterSelector, Setter,
803 assert(Getter && "property has no setter and no getter!");
821 // If there's no setter, we have no choice but to try to assign to
838 // If there is a setter, we definitely want to use it.
865 // If there's no setter, we have no choice but to try to assign to
883 // If there is a setter, we definitely want to use it.