This is an archive of the discontinued LLVM Phabricator instance.

[libc++][format] Use granularized charconv.
ClosedPublic

Authored by Mordante on Mar 16 2023, 10:00 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rG57e20cab5a1d: [libc++][format] Use granularized charconv.
Summary

This reduces the number of transitive includes when using format.

Diff Detail

Event Timeline

Mordante created this revision.Mar 16 2023, 10:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 16 2023, 10:00 AM
Mordante requested review of this revision.Mar 16 2023, 10:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 16 2023, 10:00 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Mar 28 2023, 8:36 AM
This revision is now accepted and ready to land.Mar 28 2023, 8:36 AM
This revision was landed with ongoing or failed builds.Apr 7 2023, 8:49 AM
This revision was automatically updated to reflect the committed changes.
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 7 2023, 8:49 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
owenpan removed a project: Restricted Project.Apr 7 2023, 11:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 7 2023, 11:35 AM
NOTE: Clang-Format Team Automated Review Comment

It looks like your clang-format review does not contain any unit tests, please try to ensure all code changes have a unit test (unless this is an NFC or refactoring, adding documentation etc..)

Add your unit tests in clang/unittests/Format and you can build with ninja FormatTests. We recommend using the verifyFormat(xxx) format of unit tests rather than EXPECT_EQ as this will ensure you change is tolerant to random whitespace changes (see FormatTest.cpp as an example)

For situations where your change is altering the TokenAnnotator.cpp which can happen if you are trying to improve the annotation phase to ensure we are correctly identifying the type of a token, please add a token annotator test in TokenAnnotatorTest.cpp

MyDeveloperDay removed a project: Restricted Project.