This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] Use newest supported language dialect when running the test suite.
ClosedPublic

Authored by EricWF on Oct 1 2015, 12:36 AM.

Details

Summary

Currently the test suite defaults to C++11 mode if no standard version is supplied to LIT using --param=std=c++XX. This patch changes that behavior so that the newest possible dialect is selected instead.

I have already patched the C++11 bot to explicitly specify --param=std=c++11. I'm just putting this up for review to see if anybody objects to this idea.

Diff Detail

Event Timeline

EricWF updated this revision to Diff 36193.Oct 1 2015, 12:36 AM
EricWF retitled this revision from to [libcxx] Use newest supported language dialect when running the test suite..
EricWF updated this object.
EricWF added reviewers: mclow.lists, danalbert, jroelofs.
EricWF added a subscriber: cfe-commits.
danalbert accepted this revision.Oct 2 2015, 3:18 PM
danalbert edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Oct 2 2015, 3:18 PM
EricWF closed this revision.Oct 2 2015, 7:34 PM
mclow.lists edited edge metadata.Oct 2 2015, 7:45 PM

Works for me.
Now we need to do the same for clang.