[all-commits] [llvm/llvm-project] deaad6: [libc++][format] Updates to Unicode 15.

mordante via All-commits all-commits at lists.llvm.org
Tue Oct 4 09:58:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: deaad6a1b660011e33f547ca5ad1f9b33c821966
      https://github.com/llvm/llvm-project/commit/deaad6a1b660011e33f547ca5ad1f9b33c821966
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

  Changed paths:
    M libcxx/include/__format/extended_grapheme_cluster_table.h
    M libcxx/test/libcxx/utilities/format/format.string/format.string.std/extended_grapheme_cluster.pass.cpp
    M libcxx/utils/data/unicode/GraphemeBreakProperty.txt
    M libcxx/utils/data/unicode/GraphemeBreakTest.txt
    M libcxx/utils/data/unicode/emoji-data.txt

  Log Message:
  -----------
  [libc++][format] Updates to Unicode 15.

This adds support for the new code points in the Extended Grapheme
Cluster algorithm. The algorithm itself has remained unchanged.

The width estimation still follows the rules of the Standard.
@cor3ntin filed
  LWG3780 format's width estimation is too approximate and not forward compatible
to improve the estimate.

Reviewed By: ldionne, #libc

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




More information about the All-commits mailing list