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()
2181 ObjCMethodDecl *GetterMethod = nullptr; in AtomicPropertySetterGetterRules() local
2189 GetterMethod = Property->isClassProperty() ? in AtomicPropertySetterGetterRules()
2195 if (GetterMethod && GetterMethod->isSynthesizedAccessorStub()) in AtomicPropertySetterGetterRules()
2196 GetterMethod = nullptr; in AtomicPropertySetterGetterRules()
2199 if (GetterMethod) { in AtomicPropertySetterGetterRules()
2200 Diag(GetterMethod->getLocation(), in AtomicPropertySetterGetterRules()
2221 GetterMethod = PIDecl->getGetterMethodDecl(); in AtomicPropertySetterGetterRules()
2223 if (GetterMethod && GetterMethod->isSynthesizedAccessorStub()) in AtomicPropertySetterGetterRules()
2224 GetterMethod = nullptr; in AtomicPropertySetterGetterRules()
2227 if ((bool)GetterMethod ^ (bool)SetterMethod) { in AtomicPropertySetterGetterRules()
2229 (GetterMethod ? GetterMethod->getLocation() in AtomicPropertySetterGetterRules()
2232 << Property->getIdentifier() << (GetterMethod != nullptr) in AtomicPropertySetterGetterRules()
2379 ObjCMethodDecl *GetterMethod, *SetterMethod; in ProcessPropertyDecl() local
2385 GetterMethod = IsClassProperty ? in ProcessPropertyDecl()
2391 if (!GetterMethod) in ProcessPropertyDecl()
2394 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl()
2409 DiagnosePropertyAccessorMismatch(property, GetterMethod, in ProcessPropertyDecl()
2414 if (!GetterMethod) { in ProcessPropertyDecl()
2468 if (!GetterMethod) { in ProcessPropertyDecl()
2489 GetterMethod = ObjCMethodDecl::Create( in ProcessPropertyDecl()
2497 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2499 AddPropertyAttrs(*this, GetterMethod, property); in ProcessPropertyDecl()
2502 GetterMethod->addAttr(ObjCDirectAttr::CreateImplicit(Context, Loc)); in ProcessPropertyDecl()
2505 GetterMethod->addAttr(NSReturnsNotRetainedAttr::CreateImplicit(Context, in ProcessPropertyDecl()
2509 GetterMethod->addAttr( in ProcessPropertyDecl()
2513 GetterMethod->addAttr(SectionAttr::CreateImplicit( in ProcessPropertyDecl()
2518 CheckARCMethodDecl(GetterMethod); in ProcessPropertyDecl()
2522 GetterMethod->setPropertyAccessor(true); in ProcessPropertyDecl()
2524 GetterMethod->createImplicitParams(Context, in ProcessPropertyDecl()
2525 GetterMethod->getClassInterface()); in ProcessPropertyDecl()
2526 property->setGetterMethodDecl(GetterMethod); in ProcessPropertyDecl()
2615 if (GetterMethod) in ProcessPropertyDecl()
2616 AddInstanceMethodToGlobalPool(GetterMethod); in ProcessPropertyDecl()
2620 if (GetterMethod) in ProcessPropertyDecl()
2621 AddFactoryMethodToGlobalPool(GetterMethod); in ProcessPropertyDecl()
2633 if (GetterMethod) in ProcessPropertyDecl()
2634 CheckObjCMethodOverrides(GetterMethod, CurrentClass, Sema::RTC_Unknown); in ProcessPropertyDecl()