[cfe-commits] ObjCMethodDecl: s/Synthesized/PropertyAccessor/g

jahanian fjahanian at apple.com
Mon Oct 8 15:16:20 PDT 2012


On Oct 8, 2012, at 11:36 AM, Douglas Gregor <dgregor at apple.com> wrote:

> 
> On Oct 8, 2012, at 10:58 AM, Jordan Rose <jordan_rose at apple.com> wrote:
> 
>> Hi, all. I noticed today that ObjCMethodDecl's "isSynthesized" doesn't actually correlate with whether or not the definition of the method is actually synthesized. Instead, it just tells whether there is an associated property, meaning the method /could/ be synthesized if there is no definition in the @implementation.
>> 
>> This is certainly a useful thing to know, but I think the current name is misleading. (Anna and I both could have used this in the last week, but we didn't actually spot it because being @synthesized doesn't cover all methods called for properties.) Is it all right to change it to "isPropertyAccessor", or something similar?
> 
> That makes sense to me!
Me too.
- Fariborz

> 
> 	- Doug




More information about the cfe-commits mailing list