[all-commits] [llvm/llvm-project] ade6d0: [libc++][format] Adds formatter handle.

mordante via All-commits all-commits at lists.llvm.org
Mon Jan 24 09:15:24 PST 2022


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

  Changed paths:
    M libcxx/include/__format/format_arg.h
    M libcxx/include/format
    M libcxx/test/libcxx/utilities/format/format.arguments/format.arg/visit_format_arg.pass.cpp
    M libcxx/test/libcxx/utilities/format/format.arguments/format.args/get.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.arg.store/class.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_format_args.sh.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.arg/operator_bool.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.args/ctor.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/arg.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/locale.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.char.pass.cpp
    A libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.handle.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.signed_integral.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.unsigned_integral.pass.cpp
    M libcxx/test/std/utilities/format/format.functions/format_tests.h

  Log Message:
  -----------
  [libc++][format] Adds formatter handle.

This implements the handler according to P0645. P2418 changes the wording
in the Standard. That isn't implemented and requires changes in more
places. LWG3631 applies modifications to P2418, but is currently
unresolved.

Implements parts of:
* P0645 Text Formatting

Depends on D115989

Reviewed By: ldionne, #libc

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




More information about the All-commits mailing list