[all-commits] [llvm/llvm-project] 857a78: [libc++] Implements Unicode grapheme clustering

mordante via All-commits all-commits at lists.llvm.org
Wed Jul 20 09:38:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 857a78c04deeb17cbea63224b9705710c42e97f6
      https://github.com/llvm/llvm-project/commit/857a78c04deeb17cbea63224b9705710c42e97f6
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2022-07-20 (Wed, 20 Jul 2022)

  Changed paths:
    M libcxx/benchmarks/std_format_spec_string_unicode.bench.cpp
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__format/extended_grapheme_cluster_table.h
    M libcxx/include/__format/formatter_integral.h
    M libcxx/include/__format/formatter_output.h
    M libcxx/include/__format/formatter_string.h
    M libcxx/include/__format/parser_std_format_spec.h
    A libcxx/include/__format/unicode.h
    M libcxx/include/format
    M libcxx/include/module.modulemap.in
    M libcxx/test/libcxx/private_headers.verify.cpp
    A libcxx/test/libcxx/utilities/format/format.string/format.string.std/extended_grapheme_cluster.h
    A libcxx/test/libcxx/utilities/format/format.string/format.string.std/extended_grapheme_cluster.pass.cpp
    R libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_string_non_unicode.pass.cpp
    R libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_string_unicode.pass.cpp
    A libcxx/test/std/utilities/format/format.functions/ascii.pass.cpp
    M libcxx/test/std/utilities/format/format.functions/format_tests.h
    A libcxx/test/std/utilities/format/format.functions/unicode.pass.cpp
    A libcxx/utils/generate_extended_grapheme_cluster_table.py
    A libcxx/utils/generate_extended_grapheme_cluster_test.py

  Log Message:
  -----------
  [libc++] Implements Unicode grapheme clustering

This implements the Grapheme clustering as required by
P1868R2 width: clarifying units of width and precision in std::format

This was omitted in the initial patch, but the paper was marked as completed. This really completes the paper.

Reviewed By: ldionne, #libc

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




More information about the All-commits mailing list