From: Martin Storsjö Date: Tue, 15 Dec 2020 07:15:37 +0000 (+0200) Subject: [libcxx] Remove ifdefs in the message to static_assert. NFC. X-Git-Tag: llvmorg-13-init~3117 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08a00c6f43c187f8fb3b08dd98e269fb1fcff836;p=platform%2Fupstream%2Fllvm.git [libcxx] Remove ifdefs in the message to static_assert. NFC. Differential Revision: https://reviews.llvm.org/D93283 --- diff --git a/libcxx/include/filesystem b/libcxx/include/filesystem index 1a44d9f..764ec65 100644 --- a/libcxx/include/filesystem +++ b/libcxx/include/filesystem @@ -1236,11 +1236,7 @@ _LIBCPP_INLINE_VISIBILITY _LIBCPP_DEPRECATED_WITH_CHAR8_T #endif is_same::__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::__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); }