This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Take advantage of -fexperimental-library in libc++
ClosedPublic

Authored by ldionne on Jul 20 2022, 7:50 AM.

Details

Summary

When -fexperimental-library is passed, libc++ will now pick up the
appropriate __has_feature flag defined by Clang to enable the
experimental library features.

As a fly-by, also update the documentation for the various TSes.

Diff Detail

Event Timeline

ldionne created this revision.Jul 20 2022, 7:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2022, 7:50 AM
Herald added a subscriber: arichardson. · View Herald Transcript
ldionne requested review of this revision.Jul 20 2022, 7:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2022, 7:50 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante accepted this revision.Jul 20 2022, 8:46 AM

Nice to see the TS page updated! All changes LGTM.

This revision is now accepted and ready to land.Jul 20 2022, 8:46 AM
philnik accepted this revision.Jul 20 2022, 9:41 AM
philnik added a subscriber: philnik.

LGTM % nit.

libcxx/docs/DesignDocs/ExperimentalFeatures.rst
175
ldionne updated this revision to Diff 446641.Jul 21 2022, 2:53 PM
ldionne marked an inline comment as done.

Address comment, fix test.

This revision was landed with ongoing or failed builds.Jul 22 2022, 5:34 AM
This revision was automatically updated to reflect the committed changes.