[all-commits] [llvm/llvm-project] af5fc4: [libc++][format] range-default-formatter for map

Mark de Wever via All-commits all-commits at lists.llvm.org
Thu Jan 19 11:56:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af5fc4b4d827ab00e20323b6025b458edca46906
      https://github.com/llvm/llvm-project/commit/af5fc4b4d827ab00e20323b6025b458edca46906
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M libcxx/docs/Status/FormatPaper.csv
    M libcxx/include/__format/range_default_formatter.h
    M libcxx/include/__format/range_formatter.h
    M libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.pass.cpp
    M libcxx/test/std/containers/container.adaptors/container.adaptors.format/parse.pass.cpp
    M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.pass.cpp
    M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/parse.pass.cpp
    M libcxx/test/std/utilities/format/format.formattable/concept.formattable.compile.pass.cpp
    A libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.format.pass.cpp
    A libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.tests.h
    A libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.vformat.pass.cpp
    A libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.pass.cpp
    A libcxx/test/std/utilities/format/format.range/format.range.fmtmap/parse.pass.cpp
    M libcxx/test/std/utilities/format/format.tuple/format.pass.cpp
    M libcxx/test/std/utilities/format/format.tuple/parse.pass.cpp
    M libcxx/test/std/utilities/format/format.tuple/set_brackets.pass.cpp
    M libcxx/test/std/utilities/format/format.tuple/set_separator.pass.cpp
    M libcxx/test/support/format.functions.common.h

  Log Message:
  -----------
  [libc++][format] range-default-formatter for map

Implements the range-default-formatter specialization range_format::map.

Implements parts of
- P2286R8 Formatting Ranges
- P2585R0 Improving default container formatting

Depends on D140653

Reviewed By: ldionne, #libc

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




More information about the All-commits mailing list