On Oct 8, 2012, at 10:58 AM, Jordan Rose <[email protected]> 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!

        - Doug
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to