Lines Matching refs:GetterMethod

1709                                             ObjCMethodDecl *GetterMethod,  in DiagnosePropertyAccessorMismatch()  argument
1711 if (!GetterMethod) in DiagnosePropertyAccessorMismatch()
1713 QualType GetterType = GetterMethod->getReturnType().getNonReferenceType(); in DiagnosePropertyAccessorMismatch()
1728 << GetterMethod->getSelector() << GetterType; in DiagnosePropertyAccessorMismatch()
1729 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
1743 << GetterMethod->getSelector(); in DiagnosePropertyAccessorMismatch()
1744 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
2177 ObjCMethodDecl *GetterMethod = nullptr; in AtomicPropertySetterGetterRules() local
2185 GetterMethod = Property->isClassProperty() ? in AtomicPropertySetterGetterRules()
2191 if (GetterMethod && GetterMethod->isSynthesizedAccessorStub()) in AtomicPropertySetterGetterRules()
2192 GetterMethod = nullptr; in AtomicPropertySetterGetterRules()
2195 if (GetterMethod) { in AtomicPropertySetterGetterRules()
2196 Diag(GetterMethod->getLocation(), in AtomicPropertySetterGetterRules()
2217 GetterMethod = PIDecl->getGetterMethodDecl(); in AtomicPropertySetterGetterRules()
2219 if (GetterMethod && GetterMethod->isSynthesizedAccessorStub()) in AtomicPropertySetterGetterRules()
2220 GetterMethod = nullptr; in AtomicPropertySetterGetterRules()
2223 if ((bool)GetterMethod ^ (bool)SetterMethod) { in AtomicPropertySetterGetterRules()
2225 (GetterMethod ? GetterMethod->getLocation() in AtomicPropertySetterGetterRules()
2228 << Property->getIdentifier() << (GetterMethod != nullptr) in AtomicPropertySetterGetterRules()
2375 ObjCMethodDecl *GetterMethod, *SetterMethod; in ProcessPropertyDecl() local
2381 GetterMethod = IsClassProperty ? in ProcessPropertyDecl()
2387 if (!GetterMethod) in ProcessPropertyDecl()
2390 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl()
2405 DiagnosePropertyAccessorMismatch(property, GetterMethod, in ProcessPropertyDecl()
2410 if (!GetterMethod) { in ProcessPropertyDecl()
2464 if (!GetterMethod) { in ProcessPropertyDecl()
2485 GetterMethod = ObjCMethodDecl::Create( in ProcessPropertyDecl()
2493 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2495 AddPropertyAttrs(*this, GetterMethod, property); in ProcessPropertyDecl()
2498 GetterMethod->addAttr(ObjCDirectAttr::CreateImplicit(Context, Loc)); in ProcessPropertyDecl()
2501 GetterMethod->addAttr(NSReturnsNotRetainedAttr::CreateImplicit(Context, in ProcessPropertyDecl()
2505 GetterMethod->addAttr( in ProcessPropertyDecl()
2509 GetterMethod->addAttr(SectionAttr::CreateImplicit( in ProcessPropertyDecl()
2513 CheckARCMethodDecl(GetterMethod); in ProcessPropertyDecl()
2517 GetterMethod->setPropertyAccessor(true); in ProcessPropertyDecl()
2519 GetterMethod->createImplicitParams(Context, in ProcessPropertyDecl()
2520 GetterMethod->getClassInterface()); in ProcessPropertyDecl()
2521 property->setGetterMethodDecl(GetterMethod); in ProcessPropertyDecl()
2607 if (GetterMethod) in ProcessPropertyDecl()
2608 AddInstanceMethodToGlobalPool(GetterMethod); in ProcessPropertyDecl()
2612 if (GetterMethod) in ProcessPropertyDecl()
2613 AddFactoryMethodToGlobalPool(GetterMethod); in ProcessPropertyDecl()
2625 if (GetterMethod) in ProcessPropertyDecl()
2626 CheckObjCMethodOverrides(GetterMethod, CurrentClass, Sema::RTC_Unknown); in ProcessPropertyDecl()