Lines Matching defs:GetterMethod

1686                                                 ObjCMethodDecl *GetterMethod,
1689 if (!GetterMethod)
1691 QualType GetterType = GetterMethod->getReturnType().getNonReferenceType();
1706 << GetterMethod->getSelector() << GetterType;
1707 Diag(GetterMethod->getLocation(), diag::note_declared_at);
1721 << GetterMethod->getSelector();
1722 Diag(GetterMethod->getLocation(), diag::note_declared_at);
2157 ObjCMethodDecl *GetterMethod = nullptr;
2165 GetterMethod = Property->isClassProperty() ?
2171 if (GetterMethod && GetterMethod->isSynthesizedAccessorStub())
2172 GetterMethod = nullptr;
2175 if (GetterMethod) {
2176 Diag(GetterMethod->getLocation(),
2197 GetterMethod = PIDecl->getGetterMethodDecl();
2199 if (GetterMethod && GetterMethod->isSynthesizedAccessorStub())
2200 GetterMethod = nullptr;
2203 if ((bool)GetterMethod ^ (bool)SetterMethod) {
2205 (GetterMethod ? GetterMethod->getLocation()
2208 << Property->getIdentifier() << (GetterMethod != nullptr)
2356 ObjCMethodDecl *GetterMethod, *SetterMethod;
2362 GetterMethod = IsClassProperty ?
2368 if (!GetterMethod)
2371 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()->
2386 DiagnosePropertyAccessorMismatch(property, GetterMethod,
2391 if (!GetterMethod) {
2445 if (!GetterMethod) {
2466 GetterMethod = ObjCMethodDecl::Create(
2474 CD->addDecl(GetterMethod);
2476 AddPropertyAttrs(SemaRef, GetterMethod, property);
2479 GetterMethod->addAttr(ObjCDirectAttr::CreateImplicit(Context, Loc));
2482 GetterMethod->addAttr(NSReturnsNotRetainedAttr::CreateImplicit(Context,
2486 GetterMethod->addAttr(
2490 GetterMethod->addAttr(SectionAttr::CreateImplicit(
2493 SemaRef.ProcessAPINotes(GetterMethod);
2496 CheckARCMethodDecl(GetterMethod);
2500 GetterMethod->setPropertyAccessor(true);
2502 GetterMethod->createImplicitParams(Context,
2503 GetterMethod->getClassInterface());
2504 property->setGetterMethodDecl(GetterMethod);
2593 if (GetterMethod)
2594 AddInstanceMethodToGlobalPool(GetterMethod);
2598 if (GetterMethod)
2599 AddFactoryMethodToGlobalPool(GetterMethod);
2611 if (GetterMethod)
2612 CheckObjCMethodOverrides(GetterMethod, CurrentClass, SemaObjC::RTC_Unknown);