[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
Tue Dec 1 02:12:13 PST 2020
georgthegreat updated this revision to Diff 308591.
georgthegreat added a comment.
Just fix the logical expression without introducing radical changes to libc++ logic
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92212/new/
https://reviews.llvm.org/D92212
Files:
libcxx/include/__config
Index: libcxx/include/__config
===================================================================
--- libcxx/include/__config
+++ libcxx/include/__config
@@ -953,7 +953,7 @@
#define _LIBCPP_WCTYPE_IS_MASK
#endif
-#if _LIBCPP_STD_VER <= 17 || !defined(__cpp_char8_t)
+#if _LIBCPP_STD_VER <= 17 && !defined(__cpp_char8_t)
#define _LIBCPP_NO_HAS_CHAR8_T
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92212.308591.patch
Type: text/x-patch
Size: 365 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201201/7ea2bdc4/attachment.bin>
More information about the libcxx-commits
mailing list