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.

Jordy

Attachment: all_declared_ivar_begin.patch
Description: Binary data

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

Reply via email to