r268594 - Fix implementation of C++'s restrictions on using-declarations referring to enumerators:

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Thu May 5 11:47:05 PDT 2016

On Thu, May 5, 2016 at 11:21 AM, Reid Kleckner <rnk at google.com> wrote:

> On Thu, May 5, 2016 at 11:15 AM, Richard Smith <richard at metafoo.co.uk>
> wrote:
>> Given that GCC rejects this code (and has done for as long as it's
>> accepted the Enum::Member syntax), I don't expect the problems to be too
>> widespread. If they are, we could trivially accept this as an extension; it
>> seems like a pointless restriction.
> I think there will be widespread issues on Mac, where many projects
> haven't built with GCC in years.

I've added some release notes in r268663. If people complain that this is
breaking a significant amount of code, we can think about allowing this as
an extension.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160505/189ddad3/attachment-0001.html>

More information about the cfe-commits mailing list