This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Extract ErrorHandler and related utilities from filesystem_common
AbandonedPublic

Authored by ldionne on Jun 7 2023, 9:24 AM.

Details

Reviewers
Mordante
Group Reviewers
Restricted Project

Diff Detail

Event Timeline

ldionne created this revision.Jun 7 2023, 9:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 7 2023, 9:24 AM
ldionne requested review of this revision.Jun 7 2023, 9:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 7 2023, 9:24 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante accepted this revision.Jun 11 2023, 5:14 AM
Mordante added a subscriber: Mordante.

Thanks for the cleanup! LGMT, but one request.

libcxx/src/filesystem/error.h
17

Would it be possible to move the Windows specific code to a separate header, for example windows_error.h. I've used make_windows_error in <print>, where the CI fails if filesystem is disabled.

This revision is now accepted and ready to land.Jun 11 2023, 5:14 AM
ldionne added inline comments.Jun 13 2023, 11:43 AM
libcxx/src/filesystem/error.h
17

I think this header should work even when the platform doesn't have support for a filesystem, no?

ldionne abandoned this revision.Jun 13 2023, 11:44 AM

Dropping since this has been merged into D152377.