This is an archive of the discontinued LLVM Phabricator instance.

[libc++][format] Fixes string-literal formatting.
ClosedPublic

Authored by Mordante on May 30 2022, 9:23 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rG04a3146caa0f: [libc++][format] Fixes string-literal formatting.
Summary

Formatting a string-literal had an off-by-one issue where the NUL
terminator became part of the formatted output.

Diff Detail

Event Timeline

Mordante created this revision.May 30 2022, 9:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 30 2022, 9:23 AM
Mordante requested review of this revision.May 30 2022, 9:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 30 2022, 9:24 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.May 30 2022, 9:53 AM
This revision is now accepted and ready to land.May 30 2022, 9:53 AM
Mordante updated this revision to Diff 433119.May 31 2022, 9:52 AM

Fixes CI.

This revision was automatically updated to reflect the committed changes.