[cfe-dev] Testing C++14 mode in libc++

Larisse Voufo lvoufo at google.com
Mon Feb 23 11:10:10 PST 2015


Roger. Thanks.


On Fri, Feb 20, 2015 at 2:50 PM, Justin Bogner <mail at justinbogner.com>
wrote:

> Larisse Voufo <lvoufo at google.com> writes:
> > On Fri, Feb 20, 2015 at 11:46 AM, Eric Fiselier <eric at efcs.ca> wrote:
> >
> >     What compiler are you using?
> >
> > clang 3.7 (trunk).
> >
> >
> >     >However, I can't help but think that they ought to be a way to
> >     systematically test this mode (without messing with lit.site.cfg)
> before
> >     shipping it off... to the buildbots...
> >
> >     see: http://libcxx.llvm.org/lit_usage.html
> >
> > Thanks. Looks like
> >
> > $lit --param std=c++1y ...
> >
> > works but
> >
> > $lit --param std=c++14 ...
> >
> > does not, with "error: invalid value 'c++14' in '-std=c++14'".
>
> IIRC you need to set --param cxx_under_test=/path/to/clang or these
> tests will run with your system compiler. If you're getting invalid
> value 'c++14', the clang you're using is not trunk (definitely pre-3.6).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150223/5d8100e2/attachment.html>


More information about the cfe-dev mailing list