Home | History | Annotate | Download | only in Sema

Lines Matching refs:setterMethod

863   if (ObjCMethodDecl *setterMethod = property->getSetterMethodDecl()) {
864 setterMethod->createImplicitParams(Context, IDecl);
868 ImplicitParamDecl *SelfDecl = setterMethod->getSelfDecl();
875 ObjCMethodDecl::param_iterator P = setterMethod->param_begin();
1492 ObjCMethodDecl *SetterMethod = 0;
1501 SetterMethod = IMPDecl->getInstanceMethod(Property->getSetterName());
1509 if (SetterMethod) {
1510 Diag(SetterMethod->getLocation(),
1527 SetterMethod = IMPDecl->getInstanceMethod(Property->getSetterName());
1530 if ((GetterMethod && !SetterMethod) || (!GetterMethod && SetterMethod)) {
1533 : SetterMethod->getLocation());
1536 << (SetterMethod != 0);
1625 ObjCMethodDecl *GetterMethod, *SetterMethod;
1628 SetterMethod = CD->getInstanceMethod(property->getSetterName());
1632 if (SetterMethod) {
1636 Context.getCanonicalType(SetterMethod->getResultType()) !=
1638 Diag(SetterMethod->getLocation(), diag::err_setter_type_void);
1639 if (SetterMethod->param_size() != 1 ||
1641 (*SetterMethod->param_begin())->getType().getNonReferenceType(),
1646 << SetterMethod->getSelector();
1647 Diag(SetterMethod->getLocation(), diag::note_declared_at);
1694 if (!SetterMethod) {
1702 SetterMethod =
1716 ParmVarDecl *Argument = ParmVarDecl::Create(Context, SetterMethod,
1724 SetterMethod->setMethodParams(Context, Argument,
1727 AddPropertyAttrs(*this, SetterMethod, property);
1729 CD->addDecl(SetterMethod);
1733 SetterMethod->setLexicalDeclContext(lexicalDC);
1737 SetterMethod->setSynthesized(true);
1738 property->setSetterMethodDecl(SetterMethod);
1754 if (SetterMethod)
1755 AddInstanceMethodToGlobalPool(SetterMethod);