After parsing a std-format-spec it's validated, depending on the type used some
format options are not allowed. This improves the error messages in the
exceptions thrown upon failure.
Depends on D155364
Paths
| Differential D155366
[libc++][format] Improves run-time diagnostics. ClosedPublic Authored by Mordante on Jul 15 2023, 5:42 AM.
Details
Summary After parsing a std-format-spec it's validated, depending on the type used some Depends on D155364
Diff Detail
Event TimelineMordante added a child revision: D152624: [libc++][format] Improves diagnostics..Jul 15 2023, 11:37 AM This revision is now accepted and ready to land.Jul 18 2023, 10:17 AM Closed by commit rGa0ffeccc7076: [libc++][format] Improves run-time diagnostics. (authored by Mordante). · Explain WhyJul 18 2023, 12:02 PM This revision was automatically updated to reflect the committed changes. Mordante marked an inline comment as done.
Revision Contents
Diff 541663 libcxx/include/__format/formatter_bool.h
libcxx/include/__format/formatter_char.h
libcxx/include/__format/formatter_floating_point.h
libcxx/include/__format/formatter_integer.h
libcxx/include/__format/formatter_pointer.h
libcxx/include/__format/parser_std_format_spec.h
libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.tests.h
libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.tests.h
libcxx/test/std/utilities/format/format.functions/fill.unicode.pass.cpp
libcxx/test/std/utilities/format/format.functions/format_tests.h
libcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.tests.h
libcxx/test/std/utilities/format/format.range/format.range.fmtstr/format.functions.tests.h
libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.tests.h
|