This is an archive of the discontinued LLVM Phabricator instance.

[libc++][format][6/6] Improve vformat.
AbandonedPublic

Authored by Mordante on Sep 26 2021, 8:08 AM.

Details

Reviewers
ldionne
vitaut
Group Reviewers
Restricted Project
Summary

Directly use the string's insert operation instead of using a
back_insert_iterator wrapper. With the other changes in this series the
back_insert_iterator will merely be a wrapper to select the strings
insert operation.

Depends on D110499

Diff Detail

Event Timeline

Mordante requested review of this revision.Sep 26 2021, 8:08 AM
Mordante created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptSep 26 2021, 8:08 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante planned changes to this revision.Sep 26 2021, 10:00 AM

Needs to be updated due to the removal of __put in D110495.

Mordante updated this revision to Diff 378459.Oct 9 2021, 9:54 AM

Rebased and adjusted to changes in __put.

Mordante updated this revision to Diff 380198.Oct 16 2021, 10:08 AM

Rebased to test with wchar_t changes.

Mordante planned changes to this revision.Nov 2 2021, 10:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 26 2022, 2:53 PM
vitaut accepted this revision.Apr 1 2022, 3:37 PM

LGTM

vitaut added inline comments.Apr 1 2022, 3:38 PM
libcxx/include/format
554

Why pass a pointer rather than a reference (and take a pointer in the ctor)?

Mordante abandoned this revision.Sep 10 2023, 9:06 AM

This patch is outdated and no longer really needed.