[PATCH] D52339: Support enums with a fixed underlying type in all language modes

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 21 09:55:51 PDT 2018


aaron.ballman added a comment.

In https://reviews.llvm.org/D52339#1242118, @jfb wrote:

> In https://reviews.llvm.org/D52339#1242103, @aaron.ballman wrote:
>
> > In https://reviews.llvm.org/D52339#1242086, @jfb wrote:
> >
> > > I think we should consider proposing this to the C committee. @aaron.ballman I can help Erik write the paper, would you be able to present it? Too tight for the upcoming meeting, but I'm guessing we have *plenty* of time for ++C17.
> >
> >
> > It's already been proposed to WG14 and is currently on the SD-3 list of features to consider for C2x. See http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2008.pdf. I know Clive and am happy to point him towards this patch (when it lands) as demonstration of industry desire for the feature, in case he needs to provide updated papers.
>
>
> Wonderful! Does this match he proposed C2x semantics? Once voted in we'll want to change this from just an extension to also be a `-std=c2x` thing, better have them match now.


I have to validate that still, but from a quick look, I think we're in the ballpark if not outright compatible.


Repository:
  rC Clang

https://reviews.llvm.org/D52339





More information about the cfe-commits mailing list