The constexpr validation parsed parts of the format string that didn't
belong to the specific replacement field.
Fixes https://llvm.org/PR60536
Paths
| Differential D143402
[libc++][format] Fixes constexpr validation. ClosedPublic Authored by Mordante on Feb 6 2023, 7:31 AM.
Details
Summary The constexpr validation parsed parts of the format string that didn't Fixes https://llvm.org/PR60536
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 6 2023, 9:14 PM Closed by commit rGac44dadcbea5: [libc++][format] Fixes constexpr validation. (authored by Mordante). · Explain WhyFeb 7 2023, 6:57 AM This revision was automatically updated to reflect the committed changes. Comment Actions Thanks for the quick review.
Agreed, I wanted to discuss that during review.
Revision Contents
Diff 495131 libcxx/include/__format/format_functions.h
libcxx/test/std/utilities/format/format.functions/format_tests.h
|