Lines Matching refs:GetterMethod

1491                                             ObjCMethodDecl *GetterMethod,  in DiagnosePropertyAccessorMismatch()  argument
1493 if (!GetterMethod) in DiagnosePropertyAccessorMismatch()
1495 QualType GetterType = GetterMethod->getReturnType().getNonReferenceType(); in DiagnosePropertyAccessorMismatch()
1510 << GetterMethod->getSelector() << GetterType; in DiagnosePropertyAccessorMismatch()
1511 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
1525 << GetterMethod->getSelector(); in DiagnosePropertyAccessorMismatch()
1526 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
1957 ObjCMethodDecl *GetterMethod = nullptr; in AtomicPropertySetterGetterRules() local
1966 GetterMethod = Property->isClassProperty() ? in AtomicPropertySetterGetterRules()
1973 if (GetterMethod) { in AtomicPropertySetterGetterRules()
1974 Diag(GetterMethod->getLocation(), in AtomicPropertySetterGetterRules()
1996 GetterMethod = Property->isClassProperty() ? in AtomicPropertySetterGetterRules()
2003 if ((GetterMethod && !SetterMethod) || (!GetterMethod && SetterMethod)) { in AtomicPropertySetterGetterRules()
2005 (GetterMethod ? GetterMethod->getLocation() in AtomicPropertySetterGetterRules()
2008 << Property->getIdentifier() << (GetterMethod != nullptr) in AtomicPropertySetterGetterRules()
2145 ObjCMethodDecl *GetterMethod, *SetterMethod; in ProcessPropertyDecl() local
2151 GetterMethod = IsClassProperty ? in ProcessPropertyDecl()
2157 if (!GetterMethod) in ProcessPropertyDecl()
2160 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl()
2175 DiagnosePropertyAccessorMismatch(property, GetterMethod, in ProcessPropertyDecl()
2203 if (!GetterMethod) { in ProcessPropertyDecl()
2224 GetterMethod = ObjCMethodDecl::Create(Context, Loc, Loc, in ProcessPropertyDecl()
2234 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2236 AddPropertyAttrs(*this, GetterMethod, property); in ProcessPropertyDecl()
2239 GetterMethod->addAttr(NSReturnsNotRetainedAttr::CreateImplicit(Context, in ProcessPropertyDecl()
2243 GetterMethod->addAttr( in ProcessPropertyDecl()
2247 GetterMethod->addAttr( in ProcessPropertyDecl()
2252 CheckARCMethodDecl(GetterMethod); in ProcessPropertyDecl()
2256 GetterMethod->setPropertyAccessor(true); in ProcessPropertyDecl()
2257 property->setGetterMethodDecl(GetterMethod); in ProcessPropertyDecl()
2339 if (GetterMethod) in ProcessPropertyDecl()
2340 AddInstanceMethodToGlobalPool(GetterMethod); in ProcessPropertyDecl()
2344 if (GetterMethod) in ProcessPropertyDecl()
2345 AddFactoryMethodToGlobalPool(GetterMethod); in ProcessPropertyDecl()
2357 if (GetterMethod) in ProcessPropertyDecl()
2358 CheckObjCMethodOverrides(GetterMethod, CurrentClass, Sema::RTC_Unknown); in ProcessPropertyDecl()