On May 5, 2014, at 16:47 , David Blaikie <[email protected]> wrote:

> On Mon, May 5, 2014 at 4:39 PM, Jordan Rose <[email protected]> wrote:
>> This comment for ObjCImplementationDecl is totally bogus now, BTW.
> 
> Which part of it? That support for instance variables in the
> implementation is a legacy thing? (it isn't a legacy thing?)
> 
> That they have to be identical? (do they not? I guess not - I just had
> 3 @interface, each with a different variable, and one @implementation
> with a 4th, distinct, variable)

Both. A long time ago it was true: you could put the same info in both places, 
or omit it from the @implementation, but now you can put ivars wherever, and 
the recommendation (if not using properties) is to put them just in the 
@implementation.

I'll drop the comment later.

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

Reply via email to