[cfe-commits] [PATCH] C++0x strongly typed enums
Douglas Gregor
dgregor at apple.com
Fri Oct 8 17:07:08 PDT 2010
On Oct 8, 2010, at 5:04 PM, Chris Lattner wrote:
>
> 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
Yes.... as soon as the disambiguation issue is fixed :)
- Doug
More information about the cfe-commits
mailing list