[llvm] r210920 - Finishing touch for the std::error_code transition.

Chandler Carruth chandlerc at google.com
Fri Jun 13 10:46:09 PDT 2014


On Fri, Jun 13, 2014 at 6:42 PM, Hal Finkel <hfinkel at anl.gov> wrote:

> > +// * Some implementations define fewer names than others. This
> > header has
> > +//   the intersection of all the ones we support.
>
> I don't understand how this problem is helped by this header, if it hurt
> us previously, and why it mattered otherwise. Can you please explain?
>

The only enums available now are the ones we wrote into this header file.
So if you use another one, you *definitely* get a compiler error.
Otherwise, you might add a use of some other enum, and it would compile for
you, but break for others.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140613/4673e407/attachment.html>


More information about the llvm-commits mailing list