[libcxx-commits] [PATCH] D94227: [libc++] Add basic support for -std=c++2b.

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 8 08:02:17 PST 2021


ldionne accepted this revision.
ldionne added inline comments.
This revision is now accepted and ready to land.


================
Comment at: libcxx/utils/libcxx/test/params.py:11
 
-_allStandards = ['c++03', 'c++11', 'c++14', 'c++17', 'c++2a']
+_allStandards = ['c++03', 'c++11', 'c++14', 'c++17', 'c++2a', 'c++2b']
 _warningFlags = [
----------------
WimLeflere wrote:
> Shouldn't this be c++20?
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`).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94227/new/

https://reviews.llvm.org/D94227



More information about the libcxx-commits mailing list