libcxx: Provide overloads for basic_filebuf::open() et al that take wchar_t* filename...
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 23 Jan 2018 02:07:27 +0000 (02:07 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 23 Jan 2018 02:07:27 +0000 (02:07 +0000)
commit4801624ee344803a09213d12c970ee322d180b7b
treec44a51b2bf4edd925d8cc4c3fcb2992d3bfdc8dd
parentac15ae6d6b6e9bef4502258d6851c8ef70729db7
libcxx: Provide overloads for basic_filebuf::open() et al that take wchar_t* filenames on Windows.

This is an MSVC standard library extension. It seems like a reasonable
enough extension to me because wchar_t* is the native format for
filenames on that platform.

Differential Revision: https://reviews.llvm.org/D42225

llvm-svn: 323170
libcxx/include/__config
libcxx/include/fstream
libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.cons/wchar_pointer.pass.cpp [new file with mode: 0644]
libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.members/open_wchar_pointer.pass.cpp [new file with mode: 0644]
libcxx/test/libcxx/input.output/file.streams/fstreams/ifstream.cons/test.dat [new file with mode: 0644]
libcxx/test/libcxx/input.output/file.streams/fstreams/ifstream.cons/wchar_pointer.pass.cpp [new file with mode: 0644]
libcxx/test/libcxx/input.output/file.streams/fstreams/ifstream.members/open_wchar_pointer.pass.cpp [new file with mode: 0644]
libcxx/test/libcxx/input.output/file.streams/fstreams/ifstream.members/test.dat [new file with mode: 0644]
libcxx/test/libcxx/input.output/file.streams/fstreams/ofstream.cons/wchar_pointer.pass.cpp [new file with mode: 0644]
libcxx/test/libcxx/input.output/file.streams/fstreams/ofstream.members/open_wchar_pointer.pass.cpp [new file with mode: 0644]
libcxx/test/support/platform_support.h