This is an archive of the discontinued LLVM Phabricator instance.

[NFC][libc++][format] Improves naming.
ClosedPublic

Authored by Mordante on May 14 2022, 9:18 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rG10c4eec2785a: [NFC][libc++][format] Improves naming.
Summary

Based on review comments in D110499.

Depends on D110499

Diff Detail

Event Timeline

Mordante created this revision.May 14 2022, 9:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 14 2022, 9:18 AM
Mordante requested review of this revision.May 14 2022, 9:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 14 2022, 9:18 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.May 31 2022, 9:14 AM
ldionne added inline comments.
libcxx/include/__format/buffer.h
107–108

Should we expose a public static size_t __buffer_size() method instead? Otherwise we could also drop the trailing underscore from __buffer_size_, which makes it look like a data member, and use __buffer_size directly. No strong opinion.

This revision is now accepted and ready to land.May 31 2022, 9:14 AM
Mordante marked an inline comment as done.Jun 1 2022, 8:54 AM
Mordante added inline comments.
libcxx/include/__format/buffer.h
107–108

I have a slight preference to use a static data member, I'll drop the trailing underscore.

Mordante updated this revision to Diff 433426.Jun 1 2022, 9:03 AM
Mordante marked an inline comment as done.

Rebased and addresses review comments.

This revision was landed with ongoing or failed builds.Jun 1 2022, 12:05 PM
This revision was automatically updated to reflect the committed changes.