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

Chris Lattner clattner at apple.com
Fri Oct 8 17:04:30 PDT 2010


On Oct 8, 2010, at 4:55 PM, Douglas Gregor wrote:

> 
> If substitution fails, we should fall back to 'int' here. I've added this code.
> 
> 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).

Also, it would be great to update C++ status as well:
http://clang.llvm.org/cxx_status.html#cxx0x

Thanks!

-Chris



More information about the cfe-commits mailing list