[libcxx-commits] [PATCH] D146398: [libcxx] Fix using std::wcout/wcin on Windows with streams configured in wide mode
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Apr 14 01:01:09 PDT 2023
mstorsjo updated this revision to Diff 513465.
mstorsjo added a comment.
Changed to use is_same_v<char_type, wchar_t> instead of a sizeof check.
Btw, should the added tests be under the libcxx tree, or in place under the std tree? It doesn't test any nonstandard libc++ APIs, but it uses Windows specifics to set up the test environment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146398/new/
https://reviews.llvm.org/D146398
Files:
libcxx/src/std_stream.h
libcxx/test/std/input.output/iostream.objects/wide.stream.objects/check-stderr.sh
libcxx/test/std/input.output/iostream.objects/wide.stream.objects/check-stdout.sh
libcxx/test/std/input.output/iostream.objects/wide.stream.objects/send-stdin.sh
libcxx/test/std/input.output/iostream.objects/wide.stream.objects/test.dat
libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcerr-wide-mode.sh.cpp
libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcin-wide-mode.sh.cpp
libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcout-wide-mode.sh.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146398.513465.patch
Type: text/x-patch
Size: 9057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230414/0ca2f004/attachment-0001.bin>
More information about the libcxx-commits
mailing list