[all-commits] [llvm/llvm-project] 5db033: [libc++][format] Improves fill character.

Mark de Wever via All-commits all-commits at lists.llvm.org
Fri May 19 08:21:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5db033e204b27a36ab1ffeca912f995bf1a751d4
      https://github.com/llvm/llvm-project/commit/5db033e204b27a36ab1ffeca912f995bf1a751d4
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M libcxx/docs/ReleaseNotes.rst
    M libcxx/docs/Status/Cxx2bPapers.csv
    M libcxx/docs/Status/FormatIssues.csv
    M libcxx/include/__format/formatter_floating_point.h
    M libcxx/include/__format/formatter_integral.h
    M libcxx/include/__format/formatter_output.h
    M libcxx/include/__format/parser_std_format_spec.h
    A libcxx/test/std/utilities/format/format.functions/fill.unicode.pass.cpp
    M libcxx/utils/ci/run-buildbot

  Log Message:
  -----------
  [libc++][format] Improves fill character.

The main change is to allow a UCS scalar value as fill character.
Especially for char based formatting this increase the number of valid
characters. Originally this was to be expected ABI breaking, however the
current change does not seem to break the ABI.

Implements
- P2572 std::format() fill character allowances

Depends on D144499

Reviewed By: ldionne, tahonermann, #libc

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




More information about the All-commits mailing list