• Home
  • Raw
  • Download

Lines Matching refs:SetterMethod

1348     ObjCMethodDecl *SetterMethod = 0;  in AtomicPropertySetterGetterRules()  local
1357 SetterMethod = IMPDecl->getInstanceMethod(Property->getSetterName()); in AtomicPropertySetterGetterRules()
1365 if (SetterMethod) { in AtomicPropertySetterGetterRules()
1366 Diag(SetterMethod->getLocation(), in AtomicPropertySetterGetterRules()
1383 SetterMethod = IMPDecl->getInstanceMethod(Property->getSetterName()); in AtomicPropertySetterGetterRules()
1386 if ((GetterMethod && !SetterMethod) || (!GetterMethod && SetterMethod)) { in AtomicPropertySetterGetterRules()
1389 : SetterMethod->getLocation()); in AtomicPropertySetterGetterRules()
1452 ObjCMethodDecl *GetterMethod, *SetterMethod; in ProcessPropertyDecl() local
1455 SetterMethod = CD->getInstanceMethod(property->getSetterName()); in ProcessPropertyDecl()
1459 if (SetterMethod) { in ProcessPropertyDecl()
1463 Context.getCanonicalType(SetterMethod->getResultType()) != in ProcessPropertyDecl()
1465 Diag(SetterMethod->getLocation(), diag::err_setter_type_void); in ProcessPropertyDecl()
1466 if (SetterMethod->param_size() != 1 || in ProcessPropertyDecl()
1467 ((*SetterMethod->param_begin())->getType() != property->getType())) { in ProcessPropertyDecl()
1471 << SetterMethod->getSelector(); in ProcessPropertyDecl()
1472 Diag(SetterMethod->getLocation(), diag::note_declared_at); in ProcessPropertyDecl()
1518 if (!SetterMethod) { in ProcessPropertyDecl()
1526 SetterMethod = in ProcessPropertyDecl()
1537 ParmVarDecl *Argument = ParmVarDecl::Create(Context, SetterMethod, in ProcessPropertyDecl()
1545 SetterMethod->setMethodParams(Context, &Argument, 1, 1); in ProcessPropertyDecl()
1547 AddPropertyAttrs(*this, SetterMethod, property); in ProcessPropertyDecl()
1549 CD->addDecl(SetterMethod); in ProcessPropertyDecl()
1553 SetterMethod->setLexicalDeclContext(lexicalDC); in ProcessPropertyDecl()
1557 SetterMethod->setSynthesized(true); in ProcessPropertyDecl()
1558 property->setSetterMethodDecl(SetterMethod); in ProcessPropertyDecl()
1574 if (SetterMethod) in ProcessPropertyDecl()
1575 AddInstanceMethodToGlobalPool(SetterMethod); in ProcessPropertyDecl()