Lines Matching defs:Method
252 const ObjCMethodDecl *Method = Msg->getMethodDecl();
253 if (!Method)
255 if (!Method->isPropertyAccessor())
258 const ObjCPropertyDecl *Prop = Method->findPropertyDecl();
271 // Find space location range between receiver expression and getter method.
278 // rewrite getter method expression into: receiver.property or
567 // It is trying to remove the setter method decl. line entirely.
586 for (auto *Method : D->methods()) {
587 if (Method->isDeprecated())
589 bool PropertyInferred = migrateProperty(Ctx, D, Method);
591 // the getter method as it ends up on the property itself which we don't want
596 migrateNsReturnsInnerPointer(Ctx, Method);
1178 ObjCMethodDecl *Method) {
1179 if (Method->isPropertyAccessor() || !Method->isInstanceMethod() ||
1180 Method->param_size() != 0)
1182 // Is this method candidate to be a getter?
1183 QualType GRT = Method->getReturnType();
1187 Selector GetterSelector = Method->getSelector();
1205 // Note that we don't want to change an isXXX method of retainable object
1232 !AttributesMatch(Method, SetterMethod, AvailabilityArgsMatch))
1244 rewriteToObjCProperty(Method, SetterMethod, *NSAPIObj, commit,
1255 // Try a non-void method with no argument (and no setter or property of same name
1258 rewriteToObjCProperty(Method, nullptr /*SetterMethod*/, *NSAPIObj, commit,
1306 for (auto *Method : CDecl->methods()) {
1307 if (Method->isDeprecated())
1309 migrateMethodInstanceType(Ctx, CDecl, Method);
1340 // Handle method with no name at its first selector slot; e.g. + (id):(int)x.
1590 for (const auto *Method : CDecl->methods())
1591 migrateCFAnnotation(Ctx, Method);