[patch] Finishing touch for the std::error_code transition
chandlerc at google.com
Fri Jun 13 09:32:17 PDT 2014
This is a pretty nifty hack. =D
One question, can we really use std::generic_category for all of these
codes? The actual standard library splits betwene generic_category and
system_category IIRC. I'm wondering if we have to implement our own
category that manages extracting the relevant bits of information under the
On Fri, Jun 13, 2014 at 5:28 PM, Rafael Espíndola <
rafael.espindola at gmail.com> wrote:
> While std::error_code itself seems to work OK in all platforms, there
> a few annoying differences with regards to the std::errc enumeration.
> The attached patch adds a simple llvm enumeration, which will
> hopefully avoid build breakages in other platforms and surprises as we
> get more uses of std::error_code.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits