Home | History | Annotate | Download | only in Sema

Lines Matching refs:getterMethod

828   if (ObjCMethodDecl *getterMethod = property->getGetterMethodDecl()) {
829 getterMethod->createImplicitParams(Context, IDecl);
835 ImplicitParamDecl *SelfDecl = getterMethod->getSelfDecl();
845 getterMethod->getResultType(),
857 !getterMethod->hasAttr<NSReturnsNotRetainedAttr>()) {
858 Diag(getterMethod->getLocation(),
1031 ObjCMethodDecl *GetterMethod,
1033 if (GetterMethod &&
1034 !Context.hasSameType(GetterMethod->getResultType().getNonReferenceType(),
1038 result = CheckAssignmentConstraints(Loc, GetterMethod->getResultType(),
1043 << GetterMethod->getSelector();
1044 Diag(GetterMethod->getLocation(), diag::note_declared_at);
1491 ObjCMethodDecl *GetterMethod = 0;
1500 GetterMethod = IMPDecl->getInstanceMethod(Property->getGetterName());
1503 if (GetterMethod) {
1504 Diag(GetterMethod->getLocation(),
1526 GetterMethod = IMPDecl->getInstanceMethod(Property->getGetterName());
1530 if ((GetterMethod && !SetterMethod) || (!GetterMethod && SetterMethod)) {
1532 (GetterMethod ? GetterMethod->getLocation()
1535 << Property->getIdentifier() << (GetterMethod != 0)
1625 ObjCMethodDecl *GetterMethod, *SetterMethod;
1627 GetterMethod = CD->getInstanceMethod(property->getGetterName());
1629 DiagnosePropertyAccessorMismatch(property, GetterMethod,
1657 if (!GetterMethod) {
1665 GetterMethod = ObjCMethodDecl::Create(Context, Loc, Loc,
1674 CD->addDecl(GetterMethod);
1676 AddPropertyAttrs(*this, GetterMethod, property);
1681 GetterMethod->setLexicalDeclContext(lexicalDC);
1683 GetterMethod->addAttr(
1688 GetterMethod->setSynthesized(true);
1689 property->setGetterMethodDecl(GetterMethod);
1752 if (GetterMethod)
1753 AddInstanceMethodToGlobalPool(GetterMethod);