Home | History | Annotate | Download | only in Sema

Lines Matching defs:setter

24 //  as a message-send of the associated 'setter' selector, typically:
224 ObjCMethodDecl *Setter;
231 SyntacticRefExpr(0), InstanceReceiver(0), Getter(0), Setter(0) {
513 ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter();
514 assert(setter && "both setter and getter are null - cannot happen");
516 setter->getSelector().getIdentifierInfoForSlot(0);
532 /// Try to find the most accurate setter declaration for the property
535 /// \return true if a setter was found, in which case Setter
539 if (ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter()) {
540 Setter = setter;
541 SetterSelector = setter->getSelector();
560 if (ObjCMethodDecl *setter =
562 if (setter->isPropertyAccessor() && warn)
564 dyn_cast<ObjCInterfaceDecl>(setter->getDeclContext())) {
573 if (prop != prop1 && (prop1->getSetterMethodDecl() == setter)) {
575 << prop->getName() << prop1->getName() << setter->getSelector();
580 Setter = setter;
672 QualType paramType = (*Setter->param_begin())->getType();
692 if (Setter->isInstanceMethod() || RefExpr->isObjectReceiver()) {
694 GenericLoc, SetterSelector, Setter,
699 SetterSelector, Setter,
755 assert(Getter && "property has no setter and no getter!");
773 // If there's no setter, we have no choice but to try to assign to
790 // If there is a setter, we definitely want to use it.
817 // If there's no setter, we have no choice but to try to assign to
835 // If there is a setter, we definitely want to use it.