This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Use string() instead of native() as parameter to std::ifstream/ofstream in copy_file_large.pass.cpp
ClosedPublic

Authored by mstorsjo on Oct 16 2020, 3:46 AM.

Details

Summary

This fixes building with libstdc++. MS STL has got ifstream/ofstream overloads that taken wide strings though.

Diff Detail

Event Timeline

mstorsjo created this revision.Oct 16 2020, 3:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 16 2020, 3:46 AM
Herald added 1 blocking reviewer(s): Restricted Project. · View Herald Transcript
mstorsjo requested review of this revision.Oct 16 2020, 3:46 AM
ldionne accepted this revision.Oct 16 2020, 5:36 AM
This revision is now accepted and ready to land.Oct 16 2020, 5:36 AM