[all-commits] [llvm/llvm-project] a04a6c: [libc++][format] Adds parser std-format-spec.

mordante via All-commits all-commits at lists.llvm.org
Tue Sep 21 09:30:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a04a6ce7726b51c4f503c8de899362bee40d4e04
      https://github.com/llvm/llvm-project/commit/a04a6ce7726b51c4f503c8de899362bee40d4e04
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2021-09-21 (Tue, 21 Sep 2021)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/docs/Status/Cxx20Papers.csv
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__format/formatter.h
    A libcxx/include/__format/parser_std_format_spec.h
    M libcxx/include/format
    M libcxx/include/module.modulemap
    A libcxx/test/libcxx/diagnostics/detail.headers/format/parser_std_format_spec.module.verify.cpp
    A libcxx/test/libcxx/utilities/format/format.string/format.string.std/concepts_precision.h
    A libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_integral.pass.cpp
    A libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_string.pass.cpp
    A libcxx/test/libcxx/utilities/format/format.string/format.string.std/test_exception.h

  Log Message:
  -----------
  [libc++][format] Adds parser std-format-spec.

This implements the generic std.format.spec framework for all types.

The Unicode support will be added in a separate patch.

Implements parts of:
- P0645 Text Formatting

Completes:
- LWG-3242 std::format: missing rules for arg-id in width and precision
- P1892 Extended locale-specific presentation specifiers for std::format

Reviewed By: #libc, ldionne, vitaut

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




More information about the All-commits mailing list