Home | History | Annotate | Download | only in Sema

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 if (setter->isSynthesized() && warn)
536 dyn_cast<ObjCInterfaceDecl>(setter->getDeclContext())) {
544 if (prop != prop1 && (prop1->getSetterMethodDecl() == setter)) {
546 << prop->getName() << prop1->getName() << setter->getSelector();
551 Setter = setter;
643 QualType paramType = (*Setter->param_begin())->getType();
663 if (Setter->isInstanceMethod() || RefExpr->isObjectReceiver()) {
665 GenericLoc, SetterSelector, Setter,
670 SetterSelector, Setter,
726 assert(Getter && "property has no setter and no getter!");
744 // If there's no setter, we have no choice but to try to assign to
761 // If there is a setter, we definitely want to use it.
788 // If there's no setter, we have no choice but to try to assign to
806 // If there is a setter, we definitely want to use it.