reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
591 if (RefExpr->isExplicitProperty()) { 592 const ObjCPropertyDecl *Prop = RefExpr->getExplicitProperty(); 610 if (RefExpr->isImplicitProperty()) { 611 if ((Getter = RefExpr->getImplicitPropertyGetter())) { 617 ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter(); 629 ObjCPropertyDecl *prop = RefExpr->getExplicitProperty(); 630 Getter = LookupMethodInReceiverType(S, prop->getGetterName(), RefExpr); 640 if (RefExpr->isImplicitProperty()) { 641 if (ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter()) { 647 RefExpr->getImplicitPropertyGetter()->getSelector() 658 ObjCPropertyDecl *prop = RefExpr->getExplicitProperty(); 663 LookupMethodInReceiverType(S, SetterSelector, RefExpr)) { 677 S.Diag(RefExpr->getExprLoc(), diag::err_property_setter_ambiguous_use) 699 if (ObjCPropertyDecl *prop = RefExpr->getExplicitProperty()) { 700 S.Diag(RefExpr->getLocation(), 713 if (RefExpr->isObjectReceiver()) { 714 InstanceReceiver = capture(RefExpr->getBase()); 738 QualType receiverType = RefExpr->getReceiverType(S.Context); 743 if ((Getter->isInstanceMethod() && !RefExpr->isClassReceiver()) || 744 RefExpr->isObjectReceiver()) { 745 assert(InstanceReceiver || RefExpr->isSuperReceiver()); 750 msg = S.BuildClassMessageImplicit(receiverType, RefExpr->isSuperReceiver(), 771 QualType receiverType = RefExpr->getReceiverType(S.Context); 804 if ((Setter->isInstanceMethod() && !RefExpr->isClassReceiver()) || 805 RefExpr->isObjectReceiver()) { 810 msg = S.BuildClassMessageImplicit(receiverType, RefExpr->isSuperReceiver(), 831 if (RefExpr->isImplicitProperty() && !RefExpr->getImplicitPropertyGetter()) { 831 if (RefExpr->isImplicitProperty() && !RefExpr->getImplicitPropertyGetter()) { 832 S.Diag(RefExpr->getLocation(), diag::err_getter_not_found) 833 << RefExpr->getSourceRange(); 840 if (RefExpr->isExplicitProperty() && !Getter->hasRelatedResultType()) 841 S.DiagnosePropertyAccessorMismatch(RefExpr->getExplicitProperty(), 842 Getter, RefExpr->getLocation()); 846 if (RefExpr->isExplicitProperty() && result.get()->isRValue()) { 847 QualType receiverType = RefExpr->getReceiverType(S.Context); 848 QualType propType = RefExpr->getExplicitProperty() 859 RefExpr->getLocation())) 860 S.getCurFunction()->markSafeWeakUse(RefExpr); 909 << unsigned(RefExpr->isImplicitProperty()) 953 << unsigned(RefExpr->isImplicitProperty()) 964 assert(RefExpr->isImplicitProperty());