This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Remove <experimental/filesystem> header
ClosedPublic

Authored by jloser on Feb 11 2022, 4:11 PM.

Details

Summary

<filesystem> header has been around for a while now, so we can safely remove
<experimental/filesystem> header. _LIBCPP_DEPRECATED_EXPERIMENTAL_FILESYSTEM
suggests we were going to remove <experimental/filesystem> in llvm 11 release,
but we never did. So, remove the experimental header now, its associated tests,
and the _LIBCPP_DEPRECATED_EXPERIMENTAL_FILESYSTEM macro.

Diff Detail

Event Timeline

jloser created this revision.Feb 11 2022, 4:11 PM
jloser requested review of this revision.Feb 11 2022, 4:11 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 11 2022, 4:11 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
jloser updated this revision to Diff 408092.Feb 11 2022, 4:12 PM

Fix typo in release notes

First time seeing these CI failures, but they appear to be unrelated AFAICT.

philnik accepted this revision as: philnik.Feb 12 2022, 2:32 AM

If the libcxx CI passed it's all good.

Mordante accepted this revision.Feb 12 2022, 10:33 AM

Thanks, this cleanups seems quite a bit overdue. LGTM with one nit.
The CI failures indeed seem unrelated, just make sure to keep an eye on it after landing or rebase to verify it's really unrelated.

libcxx/docs/ReleaseNotes.rst
50
This revision is now accepted and ready to land.Feb 12 2022, 10:33 AM
This revision was landed with ongoing or failed builds.Feb 12 2022, 4:45 PM
This revision was automatically updated to reflect the committed changes.

Thanks, this cleanups seems quite a bit overdue. LGTM with one nit.
The CI failures indeed seem unrelated, just make sure to keep an eye on it after landing or rebase to verify it's really unrelated.

I'll keep an eye on it tonight - just landed it and applied your comment on the release note for it.

ldionne added a subscriber: Restricted Project.Feb 14 2022, 8:13 AM

Pinging libc++ vendors just for awareness. This removal is according to our policy of removing TSes after the standardized feature has been shipped.

libcxx/test/std/experimental/filesystem/fs.req.macros/feature_macro.pass.cpp