[all-commits] [llvm/llvm-project] 7b580d: [NFC][libc++][format] Switches to from_range const...

Mark de Wever via All-commits all-commits at lists.llvm.org
Wed Aug 2 09:02:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b580d8b40bddcf12b2cb2a5fed1a15205f02a9a
      https://github.com/llvm/llvm-project/commit/7b580d8b40bddcf12b2cb2a5fed1a15205f02a9a
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-08-02 (Wed, 02 Aug 2023)

  Changed paths:
    M libcxx/include/__format/range_default_formatter.h
    M libcxx/include/__format/range_formatter.h

  Log Message:
  -----------
  [NFC][libc++][format] Switches to from_range constructor.

Some places in the format library were identified to benefit from
basic_string's from_range constructor. At that time that constructor was
not implemented. It's implemented now so adjust the code to use this new
constructor.

Reviewed By: #libc, var-const

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




More information about the All-commits mailing list