[libcxx] r285382 - Add __libcpp_version file and __libcpp_library_version function.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 30 11:54:28 PDT 2016


Richard requested this change. Take a look at
https://reviews.llvm.org/D26044 for more rational.

On Sat, Oct 29, 2016 at 2:28 PM, Joerg Sonnenberger via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> On Fri, Oct 28, 2016 at 06:06:50AM -0000, Eric Fiselier via cfe-commits
> wrote:
> > Author: ericwf
> > Date: Fri Oct 28 01:06:50 2016
> > New Revision: 285382
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=285382&view=rev
> > Log:
> > Add __libcpp_version file and __libcpp_library_version function.
>
> I really don't see why this is preferable over just checking __config or
> the classic approach of including <ciso646> and checking the macros.
>
> Joerg
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161030/54cf937a/attachment-0001.html>


More information about the cfe-commits mailing list