Lines Matching refs:Method
242 const ObjCMethodDecl *Method = Msg->getMethodDecl();
243 if (!Method)
245 if (!Method->isPropertyAccessor())
248 const ObjCPropertyDecl *Prop = Method->findPropertyDecl();
261 // Find space location range between receiver expression and getter method.
268 // rewrite getter method expression into: receiver.property or
557 // It is trying to remove the setter method decl. line entirely.
576 for (auto *Method : D->methods()) {
577 if (Method->isDeprecated())
579 bool PropertyInferred = migrateProperty(Ctx, D, Method);
581 // the getter method as it ends up on the property itself which we don't want
586 migrateNsReturnsInnerPointer(Ctx, Method);
1166 ObjCMethodDecl *Method) {
1167 if (Method->isPropertyAccessor() || !Method->isInstanceMethod() ||
1168 Method->param_size() != 0)
1170 // Is this method candidate to be a getter?
1171 QualType GRT = Method->getReturnType();
1175 Selector GetterSelector = Method->getSelector();
1193 // Note that we don't want to change an isXXX method of retainable object
1220 !AttributesMatch(Method, SetterMethod, AvailabilityArgsMatch))
1232 rewriteToObjCProperty(Method, SetterMethod, *NSAPIObj, commit,
1243 // Try a non-void method with no argument (and no setter or property of same name
1246 rewriteToObjCProperty(Method, nullptr /*SetterMethod*/, *NSAPIObj, commit,
1294 for (auto *Method : CDecl->methods()) {
1295 if (Method->isDeprecated())
1297 migrateMethodInstanceType(Ctx, CDecl, Method);
1328 // Handle method with no name at its first selector slot; e.g. + (id):(int)x.
1576 for (const auto *Method : CDecl->methods())
1577 migrateCFAnnotation(Ctx, Method);