[libcxx-commits] [PATCH] D119263: [libc++][nfc] Use TEST_HAS_NO_WIDE_CHARACTERS.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Feb 8 10:23:54 PST 2022
Mordante created this revision.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
This avoids using an libc++ internal macro in our tests.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D119263
Files:
libcxx/test/std/input.output/string.streams/istringstream/istringstream.cons/default.pass.cpp
libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.cons/default.pass.cpp
libcxx/test/std/input.output/string.streams/stringstream.cons/default.pass.cpp
Index: libcxx/test/std/input.output/string.streams/stringstream.cons/default.pass.cpp
===================================================================
--- libcxx/test/std/input.output/string.streams/stringstream.cons/default.pass.cpp
+++ libcxx/test/std/input.output/string.streams/stringstream.cons/default.pass.cpp
@@ -60,7 +60,7 @@
#if TEST_STD_VER >= 11
test<std::stringstream>();
-# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
+# ifndef TEST_HAS_NO_WIDE_CHARACTERS
test<std::wstringstream>();
# endif
#endif
Index: libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.cons/default.pass.cpp
===================================================================
--- libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.cons/default.pass.cpp
+++ libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.cons/default.pass.cpp
@@ -60,7 +60,7 @@
#if TEST_STD_VER >= 11
test<std::ostringstream>();
-# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
+# ifndef TEST_HAS_NO_WIDE_CHARACTERS
test<std::wostringstream>();
# endif
#endif
Index: libcxx/test/std/input.output/string.streams/istringstream/istringstream.cons/default.pass.cpp
===================================================================
--- libcxx/test/std/input.output/string.streams/istringstream/istringstream.cons/default.pass.cpp
+++ libcxx/test/std/input.output/string.streams/istringstream/istringstream.cons/default.pass.cpp
@@ -60,7 +60,7 @@
#if TEST_STD_VER >= 11
test<std::istringstream>();
-# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
+# ifndef TEST_HAS_NO_WIDE_CHARACTERS
test<std::wistringstream>();
# endif
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119263.406888.patch
Type: text/x-patch
Size: 1687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220208/9f814e3a/attachment.bin>
More information about the libcxx-commits
mailing list