This is an archive of the discontinued LLVM Phabricator instance.

[libc++][format] Fixes constexpr validation.
ClosedPublic

Authored by Mordante on Feb 6 2023, 7:31 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rGac44dadcbea5: [libc++][format] Fixes constexpr validation.
Summary

The constexpr validation parsed parts of the format string that didn't
belong to the specific replacement field.

Fixes https://llvm.org/PR60536

Diff Detail

Event Timeline

Mordante created this revision.Feb 6 2023, 7:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 6 2023, 7:31 AM
Mordante requested review of this revision.Feb 6 2023, 7:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 6 2023, 7:31 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Feb 6 2023, 9:14 PM
This revision is now accepted and ready to land.Feb 6 2023, 9:14 PM

This would be a good candidate for a cherry-pick if you want, it's a bug fix.

This revision was automatically updated to reflect the committed changes.

Thanks for the quick review.

This would be a good candidate for a cherry-pick if you want, it's a bug fix.

Agreed, I wanted to discuss that during review.