Lines Matching refs:GetterMethod
1656 ObjCMethodDecl *GetterMethod, in DiagnosePropertyAccessorMismatch() argument
1658 if (!GetterMethod) in DiagnosePropertyAccessorMismatch()
1660 QualType GetterType = GetterMethod->getReturnType().getNonReferenceType(); in DiagnosePropertyAccessorMismatch()
1675 << GetterMethod->getSelector() << GetterType; in DiagnosePropertyAccessorMismatch()
1676 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
1690 << GetterMethod->getSelector(); in DiagnosePropertyAccessorMismatch()
1691 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
2128 ObjCMethodDecl *GetterMethod = nullptr; in AtomicPropertySetterGetterRules() local
2137 GetterMethod = Property->isClassProperty() ? in AtomicPropertySetterGetterRules()
2144 if (GetterMethod) { in AtomicPropertySetterGetterRules()
2145 Diag(GetterMethod->getLocation(), in AtomicPropertySetterGetterRules()
2167 GetterMethod = Property->isClassProperty() ? in AtomicPropertySetterGetterRules()
2174 if ((GetterMethod && !SetterMethod) || (!GetterMethod && SetterMethod)) { in AtomicPropertySetterGetterRules()
2176 (GetterMethod ? GetterMethod->getLocation() in AtomicPropertySetterGetterRules()
2179 << Property->getIdentifier() << (GetterMethod != nullptr) in AtomicPropertySetterGetterRules()
2316 ObjCMethodDecl *GetterMethod, *SetterMethod; in ProcessPropertyDecl() local
2322 GetterMethod = IsClassProperty ? in ProcessPropertyDecl()
2328 if (!GetterMethod) in ProcessPropertyDecl()
2331 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl()
2346 DiagnosePropertyAccessorMismatch(property, GetterMethod, in ProcessPropertyDecl()
2371 if (!GetterMethod) { in ProcessPropertyDecl()
2392 GetterMethod = ObjCMethodDecl::Create(Context, Loc, Loc, in ProcessPropertyDecl()
2402 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2404 AddPropertyAttrs(*this, GetterMethod, property); in ProcessPropertyDecl()
2407 GetterMethod->addAttr(NSReturnsNotRetainedAttr::CreateImplicit(Context, in ProcessPropertyDecl()
2411 GetterMethod->addAttr( in ProcessPropertyDecl()
2415 GetterMethod->addAttr( in ProcessPropertyDecl()
2420 CheckARCMethodDecl(GetterMethod); in ProcessPropertyDecl()
2424 GetterMethod->setPropertyAccessor(true); in ProcessPropertyDecl()
2425 property->setGetterMethodDecl(GetterMethod); in ProcessPropertyDecl()
2507 if (GetterMethod) in ProcessPropertyDecl()
2508 AddInstanceMethodToGlobalPool(GetterMethod); in ProcessPropertyDecl()
2512 if (GetterMethod) in ProcessPropertyDecl()
2513 AddFactoryMethodToGlobalPool(GetterMethod); in ProcessPropertyDecl()
2525 if (GetterMethod) in ProcessPropertyDecl()
2526 CheckObjCMethodOverrides(GetterMethod, CurrentClass, Sema::RTC_Unknown); in ProcessPropertyDecl()