[libcxx-commits] [libcxx] 08a00c6 - [libcxx] Remove ifdefs in the message to static_assert. NFC.
Martin Storsjö via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Dec 17 03:38:04 PST 2020
Author: Martin Storsjö
Date: 2020-12-17T13:37:52+02:00
New Revision: 08a00c6f43c187f8fb3b08dd98e269fb1fcff836
URL: https://github.com/llvm/llvm-project/commit/08a00c6f43c187f8fb3b08dd98e269fb1fcff836
DIFF: https://github.com/llvm/llvm-project/commit/08a00c6f43c187f8fb3b08dd98e269fb1fcff836.diff
LOG: [libcxx] Remove ifdefs in the message to static_assert. NFC.
Differential Revision: https://reviews.llvm.org/D93283
Added:
Modified:
libcxx/include/filesystem
Removed:
################################################################################
diff --git a/libcxx/include/filesystem b/libcxx/include/filesystem
index 1a44d9f360e3..764ec6573a50 100644
--- a/libcxx/include/filesystem
+++ b/libcxx/include/filesystem
@@ -1236,11 +1236,7 @@ _LIBCPP_INLINE_VISIBILITY _LIBCPP_DEPRECATED_WITH_CHAR8_T
#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 @@ _LIBCPP_INLINE_VISIBILITY _LIBCPP_DEPRECATED_WITH_CHAR8_T
#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);
}
More information about the libcxx-commits
mailing list