Home | History | Annotate | Download | only in Sema

Lines Matching refs:getterMethod

754   if (ObjCMethodDecl *getterMethod = property->getGetterMethodDecl()) {
755 getterMethod->createImplicitParams(Context, IDecl);
761 ImplicitParamDecl *SelfDecl = getterMethod->getSelfDecl();
771 getterMethod->getResultType(),
783 !getterMethod->hasAttr<NSReturnsNotRetainedAttr>()) {
784 Diag(getterMethod->getLocation(),
954 ObjCMethodDecl *GetterMethod,
956 if (GetterMethod &&
957 GetterMethod->getResultType().getNonReferenceType()
961 result = CheckAssignmentConstraints(Loc, GetterMethod->getResultType(),
966 << GetterMethod->getSelector();
967 Diag(GetterMethod->getLocation(), diag::note_declared_at);
1397 ObjCMethodDecl *GetterMethod = 0;
1406 GetterMethod = IMPDecl->getInstanceMethod(Property->getGetterName());
1409 if (GetterMethod) {
1410 Diag(GetterMethod->getLocation(),
1432 GetterMethod = IMPDecl->getInstanceMethod(Property->getGetterName());
1436 if ((GetterMethod && !SetterMethod) || (!GetterMethod && SetterMethod)) {
1438 (GetterMethod ? GetterMethod->getLocation()
1441 << Property->getIdentifier() << (GetterMethod != 0)
1504 ObjCMethodDecl *GetterMethod, *SetterMethod;
1506 GetterMethod = CD->getInstanceMethod(property->getGetterName());
1508 DiagnosePropertyAccessorMismatch(property, GetterMethod,
1536 if (!GetterMethod) {
1544 GetterMethod = ObjCMethodDecl::Create(Context, Loc, Loc,
1553 CD->addDecl(GetterMethod);
1555 AddPropertyAttrs(*this, GetterMethod, property);
1560 GetterMethod->setLexicalDeclContext(lexicalDC);
1562 GetterMethod->addAttr(
1567 GetterMethod->setSynthesized(true);
1568 property->setGetterMethodDecl(GetterMethod);
1631 if (GetterMethod)
1632 AddInstanceMethodToGlobalPool(GetterMethod);