On Wed, Jul 18, 2012 at 9:57 PM, Richard Smith <[email protected]> wrote: > On Wed, Jul 18, 2012 at 7:51 PM, Aaron Ballman <[email protected]> > wrote: >> >> This patch addresses PR13128, which points out that the scoped enum >> constant name lookup still causes errors when conflicting with the >> class name. Due to it being a scoped enum, the name is looked up in >> scope, and so the class name doesn't provide a conflict with the >> following example: >> >> class C { >> enum class E { C }; >> }; > > > Please update the comment above your change with the relevant quotation from > C++11 [class.mem]p15. Otherwise, LGTM
Thanks for the quick review! It's in r160490, along with your suggested change. ~Aaron _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
