[all-commits] [llvm/llvm-project] ac7031: [libc++][format] Implement Unicode support.

mordante via All-commits all-commits at lists.llvm.org
Sat Oct 2 02:57:53 PDT 2021


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

  Changed paths:
    A libcxx/benchmarks/std_format_spec_string_unicode.bench.cpp
    M libcxx/docs/Status/Cxx20Papers.csv
    M libcxx/include/__format/parser_std_format_spec.h
    A libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_string_non_unicode.pass.cpp
    A libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_string_unicode.pass.cpp

  Log Message:
  -----------
  [libc++][format] Implement Unicode support.

This adds the width estimation functions to the std-format-spec.

Implements parts of:
- P0645 Text Formatting
- P1868 width: clarifying units of width and precision in std::format

Reviewed By: #libc, ldionne, vitaut

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




More information about the All-commits mailing list