[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
Mon Dec 14 23:20:19 PST 2020

mstorsjo created this revision.
mstorsjo added a reviewer: libc++.
mstorsjo requested review of this revision.
Herald added a project: libc++.
Herald added 1 blocking reviewer(s): libc++.

As suggested in D91137 <https://reviews.llvm.org/D91137>.

  rG LLVM Github Monorepo



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

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

More information about the libcxx-commits mailing list