This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Add basic support for -std=c++2b.
ClosedPublic

Authored by curdeius on Jan 7 2021, 4:41 AM.

Details

Reviewers
ldionne
jfb
Group Reviewers
Restricted Project
Commits
rG95729f95d803: [libc++] Add basic support for -std=c++2b.
Summary
  • Add feature test macros.
  • Add buildbot configuration generic-cxx2b that uses clang-tot.

Diff Detail

Event Timeline

curdeius created this revision.Jan 7 2021, 4:41 AM
curdeius requested review of this revision.Jan 7 2021, 4:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 7 2021, 4:41 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
curdeius updated this revision to Diff 315331.Jan 8 2021, 3:05 AM

Rebase and resolve conflicts.

WimLeflere added inline comments.Jan 8 2021, 7:51 AM
libcxx/docs/TestingLibcxx.rst
123

Shouldn't this be c++20?

libcxx/utils/libcxx/test/params.py
11

Shouldn't this be c++20?

ldionne accepted this revision.Jan 8 2021, 8:02 AM
ldionne added inline comments.
libcxx/utils/libcxx/test/params.py
11

The problem is that we use this value to pass -std=<xxx> to compilers, and some older compilers don't understand -std=c++20 (only -std=c++2a).

This revision is now accepted and ready to land.Jan 8 2021, 8:02 AM
This revision was automatically updated to reflect the committed changes.