[libcxx-commits] [PATCH] D92212: Make libcxx work according to Clang C++ Status if -fchar8_t is passed

Yuriy Chernyshov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 3 00:48:27 PST 2020


georgthegreat added a comment.

btw, I am ok to limit this behavior to -std=c++17. Condition in `<version>` might be changed as follows:

  # #if _LIBCPP_STD_VER >= 17 && defined(__cpp_char8_t)
  #   define __cpp_lib_char8_t                            201811L
  # endif

Thus the weird case `-std=c++20 -fnochar8_t` will be somewhat supported.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92212



More information about the libcxx-commits mailing list