This is an archive of the discontinued LLVM Phabricator instance.

[libc++][format] Fixes test failures.
ClosedPublic

Authored by Mordante on Feb 2 2023, 11:00 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rG9c8f3409494f: [libc++][format] Fixes test failures.
Summary

Using some builds the modular build fails due to missing exports
and includes. This fixes the build.

Diff Detail

Event Timeline

Mordante created this revision.Feb 2 2023, 11:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2023, 11:00 AM
Mordante requested review of this revision.Feb 2 2023, 11:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2023, 11:00 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne added a subscriber: ldionne.Feb 2 2023, 1:18 PM

Most of the additions seem correct, but I don't understand a few of them. I'd like to understand to make sure we're not just blindly adding includes to fix stuff (and to fix what?).

libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/check_arg_id.verify.cpp
15–16 ↗(On Diff #494372)

Why is this needed? What is this fixing?

libcxx/test/std/utilities/format/format.functions/ascii.pass.cpp
20 ↗(On Diff #494372)

We're not using std::string here right? Why is this needed?

Mordante updated this revision to Diff 494890.Feb 5 2023, 2:58 AM

Improves the fixes.

Mordante edited the summary of this revision. (Show Details)Feb 5 2023, 3:02 AM
ldionne accepted this revision.Feb 14 2023, 9:23 AM
This revision is now accepted and ready to land.Feb 14 2023, 9:23 AM
This revision was automatically updated to reflect the committed changes.
Mordante marked 2 inline comments as done.