This is an archive of the discontinued LLVM Phabricator instance.

[libc++][format] Exposes basic-format-string
ClosedPublic

Authored by Mordante on Jul 27 2022, 9:13 AM.

Details

Reviewers
ldionne
vitaut
Group Reviewers
Restricted Project
Commits
rGf712775dafdb: [libc++][format] Exposes basic-format-string
Summary

This paper was accepted during the last plenary and is intended to be
backported to LLVM 15. When backporting the release notes in the branch
should be updated too.

Note the feature-test macro isn't updated since this will change; three
papers have updated the same macro in the same plenary.

Implements:

  • P2508R1 Exposing std::basic-format-string

Diff Detail

Event Timeline

Mordante created this revision.Jul 27 2022, 9:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2022, 9:13 AM
Herald added a subscriber: arichardson. · View Herald Transcript
Mordante requested review of this revision.Jul 27 2022, 9:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2022, 9:13 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante updated this revision to Diff 448079.Jul 27 2022, 9:39 AM

Fixes CI issue.

Mordante updated this revision to Diff 448083.Jul 27 2022, 9:50 AM

More CI fixes.

ldionne accepted this revision.Aug 2 2022, 9:01 AM
ldionne added inline comments.
libcxx/docs/UsingLibcxx.rst
448
451–455

IMO it's not necessary to mention that we never shipped the previous names, since they were exposition-only. Also, it's mostly relevant for us libc++ developers to understand this change, but not for users who will consume this documentation.

libcxx/include/format
28

Here and elsewhere

libcxx/test/std/utilities/format/format.fmt.string/ctor.verify.cpp
9–11

Can you please set this line apart and add a comment like this? Applies elsewhere too.

libcxx/utils/generate_feature_test_macro_components.py
313–314
This revision is now accepted and ready to land.Aug 2 2022, 9:01 AM
Mordante updated this revision to Diff 449322.Aug 2 2022, 9:54 AM
Mordante marked 5 inline comments as done.

Rebased and addresses review comments.
Make sure the CI passes after fixing the bootstrapping build.

This revision was automatically updated to reflect the committed changes.