Lines Matching refs:GetterMethod

1710                                             ObjCMethodDecl *GetterMethod,  in DiagnosePropertyAccessorMismatch()  argument
1712 if (!GetterMethod) in DiagnosePropertyAccessorMismatch()
1714 QualType GetterType = GetterMethod->getReturnType().getNonReferenceType(); in DiagnosePropertyAccessorMismatch()
1729 << GetterMethod->getSelector() << GetterType; in DiagnosePropertyAccessorMismatch()
1730 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
1744 << GetterMethod->getSelector(); in DiagnosePropertyAccessorMismatch()
1745 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
2178 ObjCMethodDecl *GetterMethod = nullptr; in AtomicPropertySetterGetterRules() local
2186 GetterMethod = Property->isClassProperty() ? in AtomicPropertySetterGetterRules()
2192 if (GetterMethod && GetterMethod->isSynthesizedAccessorStub()) in AtomicPropertySetterGetterRules()
2193 GetterMethod = nullptr; in AtomicPropertySetterGetterRules()
2196 if (GetterMethod) { in AtomicPropertySetterGetterRules()
2197 Diag(GetterMethod->getLocation(), in AtomicPropertySetterGetterRules()
2218 GetterMethod = PIDecl->getGetterMethodDecl(); in AtomicPropertySetterGetterRules()
2220 if (GetterMethod && GetterMethod->isSynthesizedAccessorStub()) in AtomicPropertySetterGetterRules()
2221 GetterMethod = nullptr; in AtomicPropertySetterGetterRules()
2224 if ((bool)GetterMethod ^ (bool)SetterMethod) { in AtomicPropertySetterGetterRules()
2226 (GetterMethod ? GetterMethod->getLocation() in AtomicPropertySetterGetterRules()
2229 << Property->getIdentifier() << (GetterMethod != nullptr) in AtomicPropertySetterGetterRules()
2376 ObjCMethodDecl *GetterMethod, *SetterMethod; in ProcessPropertyDecl() local
2382 GetterMethod = IsClassProperty ? in ProcessPropertyDecl()
2388 if (!GetterMethod) in ProcessPropertyDecl()
2391 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl()
2406 DiagnosePropertyAccessorMismatch(property, GetterMethod, in ProcessPropertyDecl()
2411 if (!GetterMethod) { in ProcessPropertyDecl()
2465 if (!GetterMethod) { in ProcessPropertyDecl()
2486 GetterMethod = ObjCMethodDecl::Create( in ProcessPropertyDecl()
2494 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2496 AddPropertyAttrs(*this, GetterMethod, property); in ProcessPropertyDecl()
2499 GetterMethod->addAttr(ObjCDirectAttr::CreateImplicit(Context, Loc)); in ProcessPropertyDecl()
2502 GetterMethod->addAttr(NSReturnsNotRetainedAttr::CreateImplicit(Context, in ProcessPropertyDecl()
2506 GetterMethod->addAttr( in ProcessPropertyDecl()
2510 GetterMethod->addAttr(SectionAttr::CreateImplicit( in ProcessPropertyDecl()
2515 CheckARCMethodDecl(GetterMethod); in ProcessPropertyDecl()
2519 GetterMethod->setPropertyAccessor(true); in ProcessPropertyDecl()
2521 GetterMethod->createImplicitParams(Context, in ProcessPropertyDecl()
2522 GetterMethod->getClassInterface()); in ProcessPropertyDecl()
2523 property->setGetterMethodDecl(GetterMethod); in ProcessPropertyDecl()
2612 if (GetterMethod) in ProcessPropertyDecl()
2613 AddInstanceMethodToGlobalPool(GetterMethod); in ProcessPropertyDecl()
2617 if (GetterMethod) in ProcessPropertyDecl()
2618 AddFactoryMethodToGlobalPool(GetterMethod); in ProcessPropertyDecl()
2630 if (GetterMethod) in ProcessPropertyDecl()
2631 CheckObjCMethodOverrides(GetterMethod, CurrentClass, Sema::RTC_Unknown); in ProcessPropertyDecl()