[cfe-commits] [PATCH] C++0x strongly typed enums

Douglas Gregor dgregor at apple.com
Wed Dec 1 09:50:39 PST 2010

On Oct 11, 2010, at 5:57 AM, Daniel Wallin wrote:

> On Sat, Oct 9, 2010 at 1:55 AM, Douglas Gregor <dgregor at apple.com> wrote:
>> It'd be great if the declaration printer/dumper was updated to print the "class" in "enum class" and the fixed underlying type (when present), so that our -ast-dump and -ast-print output would be helpful.
>> I've gone ahead and committed a tweaked version of your patch in r116122, with the minor tweaks above. It'd be great if you could address the issues above in a separate patch (disambiguation, diagnostics, declaration printer).
> Sure! The git mirror I'm using is a bit behind, so I'm not 100% sure
> these apply cleanly. If not I'll rebase when the mirror catches up.

I ended up rewriting the disambiguation patch to fast-path the common cases, which I committed in r120582. The other patches were committed as  r120576, and r120577, respectively. Thanks!

	- Doug

> -- 
> Daniel Wallin
> BoostPro Computing
> http://www.boostpro.com
> <disambiguate-enum-bitfields.patch><scoped-enum-ast-print.patch><show-mismatching-enum-types.patch>

More information about the cfe-commits mailing list