[libcxx-commits] [PATCH] D93283: [libcxx] Remove ifdefs in the message to static_assert. NFC.

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 17 03:38:16 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG08a00c6f43c1: [libcxx] Remove ifdefs in the message to static_assert. NFC. (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93283

Files:
  libcxx/include/filesystem


Index: libcxx/include/filesystem
===================================================================
--- libcxx/include/filesystem
+++ libcxx/include/filesystem
@@ -1236,11 +1236,7 @@
 #endif
       is_same<typename __is_pathable<_Source>::__char_type, char>::value,
       "u8path(Source const&) requires Source have a character type of type "
-      "'char'"
-#ifndef _LIBCPP_NO_HAS_CHAR8_T
-      " or 'char8_t'"
-#endif
-      );
+      "'char' or 'char8_t'");
   return path(__s);
 }
 
@@ -1254,10 +1250,7 @@
 #endif
       is_same<typename __is_pathable<_InputIt>::__char_type, char>::value,
       "u8path(Iter, Iter) requires Iter have a value_type of type 'char'"
-#ifndef _LIBCPP_NO_HAS_CHAR8_T
-      " or 'char8_t'"
-#endif
-      );
+      " or 'char8_t'");
   return path(__f, __l);
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93283.312429.patch
Type: text/x-patch
Size: 802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201217/36b865ec/attachment.bin>


More information about the libcxx-commits mailing list