Home | History | Annotate | Download | only in Sema

Lines Matching full:getter

21 //  of the associated 'getter' selector, typically:
213 ObjCMethodDecl *Getter;
222 SyntacticRefExpr(0), InstanceReceiver(0), Getter(0), Setter(0) {
475 if (Getter) return true;
479 if ((Getter = RefExpr->getImplicitPropertyGetter())) {
480 GetterSelector = Getter->getSelector();
484 // Must build the getter selector the hard way.
486 assert(setter && "both setter and getter are null - cannot happen");
500 Getter = LookupMethodInReceiverType(S, prop->getGetterName(), RefExpr);
501 return (Getter != 0);
569 assert(Getter);
586 if (Getter->isInstanceMethod() || RefExpr->isObjectReceiver()) {
589 GenericLoc, Getter->getSelector(),
590 Getter, MultiExprArg());
594 Getter->getSelector(), Getter,
681 if (RefExpr->isExplicitProperty() && !Getter->hasRelatedResultType())
683 Getter, RefExpr->getLocation());
700 /// Try to build this as a call to a getter that returns a reference.
709 assert(Getter && "property has no setter and no getter!");
711 // Only do this if the getter returns an l-value reference type.
712 QualType resultType = Getter->getResultType();
728 // the result of the getter.
772 // the result of the getter.
791 // We also need a getter.