[all-commits] [llvm/llvm-project] de731e: [libc++][format] Improve an exception message.

mordante via All-commits all-commits at lists.llvm.org
Wed Jan 5 08:43:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de731efd4cbc172b8d5ce84ef7c7f39a4527d82b
      https://github.com/llvm/llvm-project/commit/de731efd4cbc172b8d5ce84ef7c7f39a4527d82b
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2022-01-05 (Wed, 05 Jan 2022)

  Changed paths:
    M libcxx/include/__format/parser_std_format_spec.h
    M libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_bool.pass.cpp
    M libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_char.pass.cpp
    M libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_integer.pass.cpp
    M libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_string.pass.cpp
    M libcxx/test/std/utilities/format/format.functions/format_tests.h

  Log Message:
  -----------
  [libc++][format] Improve an exception message.

The fix in D116381 makes an existing exception message wrong. This
improves the message and fixes the associated unit tests.

Note other message can be also be improved, but that will be done later.
Changing these messages may cause merge conflicts with other patches
that are under review or WIP.

Depends on D116381

Reviewed By: #libc, Quuxplusone, ldionne

Differential Revision: https://reviews.llvm.org/D116495




More information about the All-commits mailing list