[all-commits] [llvm/llvm-project] a0ffec: [libc++][format] Improves run-time diagnostics.
Mark de Wever via All-commits
all-commits at lists.llvm.org
Tue Jul 18 12:02:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a0ffeccc707679d50cd8d4fba0e6f20a3450d474
https://github.com/llvm/llvm-project/commit/a0ffeccc707679d50cd8d4fba0e6f20a3450d474
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2023-07-18 (Tue, 18 Jul 2023)
Changed paths:
M libcxx/include/__format/formatter_bool.h
M libcxx/include/__format/formatter_char.h
M libcxx/include/__format/formatter_floating_point.h
M libcxx/include/__format/formatter_integer.h
M libcxx/include/__format/formatter_pointer.h
M libcxx/include/__format/parser_std_format_spec.h
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.tests.h
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.tests.h
M libcxx/test/std/utilities/format/format.functions/fill.unicode.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format_tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.tests.h
Log Message:
-----------
[libc++][format] Improves run-time diagnostics.
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
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D155366
More information about the All-commits
mailing list