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

Daniel Wallin daniel at boostpro.com
Mon Oct 11 05:57:43 PDT 2010


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.

-- 
Daniel Wallin
BoostPro Computing
http://www.boostpro.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disambiguate-enum-bitfields.patch
Type: application/octet-stream
Size: 1924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101011/47fe4656/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scoped-enum-ast-print.patch
Type: application/octet-stream
Size: 765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101011/47fe4656/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: show-mismatching-enum-types.patch
Type: application/octet-stream
Size: 1484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101011/47fe4656/attachment-0002.obj>


More information about the cfe-commits mailing list