This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] Fix the function name in exceptions from create_directories
ClosedPublic

Authored by mstorsjo on May 12 2021, 1:39 PM.

Details

Summary

If the nested create_directory call fails, we'd still want to
re-report the errors with the create_directories function name,
which is what the caller called.

This fixes one aspect from MS STL's tests for std::filesystem.

Diff Detail

Event Timeline

mstorsjo requested review of this revision.May 12 2021, 1:39 PM
mstorsjo created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMay 12 2021, 1:39 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
curdeius accepted this revision as: curdeius.May 13 2021, 10:29 AM
curdeius added a subscriber: curdeius.

LGTM.

ldionne accepted this revision.May 25 2021, 1:25 PM
This revision is now accepted and ready to land.May 25 2021, 1:25 PM