Lines Matching refs:GetterMethod
1711 ObjCMethodDecl *GetterMethod, in DiagnosePropertyAccessorMismatch() argument
1713 if (!GetterMethod) in DiagnosePropertyAccessorMismatch()
1715 QualType GetterType = GetterMethod->getReturnType().getNonReferenceType(); in DiagnosePropertyAccessorMismatch()
1730 << GetterMethod->getSelector() << GetterType; in DiagnosePropertyAccessorMismatch()
1731 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
1745 << GetterMethod->getSelector(); in DiagnosePropertyAccessorMismatch()
1746 Diag(GetterMethod->getLocation(), diag::note_declared_at); in DiagnosePropertyAccessorMismatch()
2182 ObjCMethodDecl *GetterMethod = nullptr; in AtomicPropertySetterGetterRules() local
2190 GetterMethod = Property->isClassProperty() ? in AtomicPropertySetterGetterRules()
2196 if (GetterMethod && GetterMethod->isSynthesizedAccessorStub()) in AtomicPropertySetterGetterRules()
2197 GetterMethod = nullptr; in AtomicPropertySetterGetterRules()
2200 if (GetterMethod) { in AtomicPropertySetterGetterRules()
2201 Diag(GetterMethod->getLocation(), in AtomicPropertySetterGetterRules()
2222 GetterMethod = PIDecl->getGetterMethodDecl(); in AtomicPropertySetterGetterRules()
2224 if (GetterMethod && GetterMethod->isSynthesizedAccessorStub()) in AtomicPropertySetterGetterRules()
2225 GetterMethod = nullptr; in AtomicPropertySetterGetterRules()
2228 if ((bool)GetterMethod ^ (bool)SetterMethod) { in AtomicPropertySetterGetterRules()
2230 (GetterMethod ? GetterMethod->getLocation() in AtomicPropertySetterGetterRules()
2233 << Property->getIdentifier() << (GetterMethod != nullptr) in AtomicPropertySetterGetterRules()
2380 ObjCMethodDecl *GetterMethod, *SetterMethod; in ProcessPropertyDecl() local
2386 GetterMethod = IsClassProperty ? in ProcessPropertyDecl()
2392 if (!GetterMethod) in ProcessPropertyDecl()
2395 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl()
2410 DiagnosePropertyAccessorMismatch(property, GetterMethod, in ProcessPropertyDecl()
2415 if (!GetterMethod) { in ProcessPropertyDecl()
2469 if (!GetterMethod) { in ProcessPropertyDecl()
2490 GetterMethod = ObjCMethodDecl::Create( in ProcessPropertyDecl()
2498 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2500 AddPropertyAttrs(*this, GetterMethod, property); in ProcessPropertyDecl()
2503 GetterMethod->addAttr(ObjCDirectAttr::CreateImplicit(Context, Loc)); in ProcessPropertyDecl()
2506 GetterMethod->addAttr(NSReturnsNotRetainedAttr::CreateImplicit(Context, in ProcessPropertyDecl()
2510 GetterMethod->addAttr( in ProcessPropertyDecl()
2514 GetterMethod->addAttr(SectionAttr::CreateImplicit( in ProcessPropertyDecl()
2519 CheckARCMethodDecl(GetterMethod); in ProcessPropertyDecl()
2523 GetterMethod->setPropertyAccessor(true); in ProcessPropertyDecl()
2525 GetterMethod->createImplicitParams(Context, in ProcessPropertyDecl()
2526 GetterMethod->getClassInterface()); in ProcessPropertyDecl()
2527 property->setGetterMethodDecl(GetterMethod); in ProcessPropertyDecl()
2616 if (GetterMethod) in ProcessPropertyDecl()
2617 AddInstanceMethodToGlobalPool(GetterMethod); in ProcessPropertyDecl()
2621 if (GetterMethod) in ProcessPropertyDecl()
2622 AddFactoryMethodToGlobalPool(GetterMethod); in ProcessPropertyDecl()
2634 if (GetterMethod) in ProcessPropertyDecl()
2635 CheckObjCMethodOverrides(GetterMethod, CurrentClass, Sema::RTC_Unknown); in ProcessPropertyDecl()