Lines Matching defs:GetterMethod
1688 ObjCMethodDecl *GetterMethod,
1691 if (!GetterMethod)
1693 QualType GetterType = GetterMethod->getReturnType().getNonReferenceType();
1708 << GetterMethod->getSelector() << GetterType;
1709 Diag(GetterMethod->getLocation(), diag::note_declared_at);
1723 << GetterMethod->getSelector();
1724 Diag(GetterMethod->getLocation(), diag::note_declared_at);
2159 ObjCMethodDecl *GetterMethod = nullptr;
2167 GetterMethod = Property->isClassProperty() ?
2173 if (GetterMethod && GetterMethod->isSynthesizedAccessorStub())
2174 GetterMethod = nullptr;
2177 if (GetterMethod) {
2178 Diag(GetterMethod->getLocation(),
2199 GetterMethod = PIDecl->getGetterMethodDecl();
2201 if (GetterMethod && GetterMethod->isSynthesizedAccessorStub())
2202 GetterMethod = nullptr;
2205 if ((bool)GetterMethod ^ (bool)SetterMethod) {
2207 (GetterMethod ? GetterMethod->getLocation()
2210 << Property->getIdentifier() << (GetterMethod != nullptr)
2358 ObjCMethodDecl *GetterMethod, *SetterMethod;
2364 GetterMethod = IsClassProperty ?
2370 if (!GetterMethod)
2373 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()->
2388 DiagnosePropertyAccessorMismatch(property, GetterMethod,
2393 if (!GetterMethod) {
2447 if (!GetterMethod) {
2468 GetterMethod = ObjCMethodDecl::Create(
2476 CD->addDecl(GetterMethod);
2478 AddPropertyAttrs(SemaRef, GetterMethod, property);
2481 GetterMethod->addAttr(ObjCDirectAttr::CreateImplicit(Context, Loc));
2484 GetterMethod->addAttr(NSReturnsNotRetainedAttr::CreateImplicit(Context,
2488 GetterMethod->addAttr(
2492 GetterMethod->addAttr(SectionAttr::CreateImplicit(
2495 SemaRef.ProcessAPINotes(GetterMethod);
2498 CheckARCMethodDecl(GetterMethod);
2502 GetterMethod->setPropertyAccessor(true);
2504 GetterMethod->createImplicitParams(Context,
2505 GetterMethod->getClassInterface());
2506 property->setGetterMethodDecl(GetterMethod);
2595 if (GetterMethod)
2596 AddInstanceMethodToGlobalPool(GetterMethod);
2600 if (GetterMethod)
2601 AddFactoryMethodToGlobalPool(GetterMethod);
2613 if (GetterMethod)
2614 CheckObjCMethodOverrides(GetterMethod, CurrentClass, SemaObjC::RTC_Unknown);