[libcxx-commits] [libcxx] 367a9e7 - [libc++][NFC] Remove remnants of _LIBCPP_HAS_NO_STDOUT, which should have been removed by 87dd51983cf9

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 9 11:27:36 PDT 2021


Author: Louis Dionne
Date: 2021-09-09T14:27:31-04:00
New Revision: 367a9e709dc0bbdffcddf806e6962daba9bb88fc

URL: https://github.com/llvm/llvm-project/commit/367a9e709dc0bbdffcddf806e6962daba9bb88fc
DIFF: https://github.com/llvm/llvm-project/commit/367a9e709dc0bbdffcddf806e6962daba9bb88fc.diff

LOG: [libc++][NFC] Remove remnants of _LIBCPP_HAS_NO_STDOUT, which should have been removed by 87dd51983cf9

Added: 
    

Modified: 
    libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/cerr.sh.cpp
    libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcerr.sh.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/cerr.sh.cpp b/libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/cerr.sh.cpp
index bb6c64fa4e0c..cd221e7875b6 100644
--- a/libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/cerr.sh.cpp
+++ b/libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/cerr.sh.cpp
@@ -24,11 +24,6 @@
 int main(int, char**) {
     std::cerr << "1234";
     assert(std::cerr.flags() & std::ios_base::unitbuf);
-
-#ifdef _LIBCPP_HAS_NO_STDOUT
-    assert(std::cerr.tie() == NULL);
-#else
     assert(std::cerr.tie() == &std::cout);
-#endif
     return 0;
 }

diff  --git a/libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcerr.sh.cpp b/libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcerr.sh.cpp
index 64ef28536dda..7e8e570c4f3e 100644
--- a/libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcerr.sh.cpp
+++ b/libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcerr.sh.cpp
@@ -24,11 +24,6 @@
 int main(int, char**) {
     std::wcerr << L"1234";
     assert(std::wcerr.flags() & std::ios_base::unitbuf);
-
-#ifdef _LIBCPP_HAS_NO_STDOUT
-    assert(std::wcerr.tie() == NULL);
-#else
     assert(std::wcerr.tie() == &std::wcout);
-#endif
     return 0;
 }


        


More information about the libcxx-commits mailing list