On Jul 21, 2011, at 12:28 AM, Jordy Rose wrote:
> Currently clients of ObjCInterfaceDecl::all_declared_ivar_begin have to
> const_cast the Decl to mutable, since the ivar chain is generated lazily.
> This patch adds a const overload (which just calls the non-const version),
> then goes and strips out all the const_casts. There's a slight constification
> fallout as well but nothing major.
>
> Don't think this'll be controversial, but hoping for a quick review to check
> that I didn't do anything stupid.
Looks good to me.
- Doug
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits