[all-commits] [llvm/llvm-project] fb9a69: [libc++][format][4/6] Improve formatted_size.

mordante via All-commits all-commits at lists.llvm.org
Sat Apr 9 00:36:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb9a692be5dd20db62c705bb371977dc30fb407f
      https://github.com/llvm/llvm-project/commit/fb9a692be5dd20db62c705bb371977dc30fb407f
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2022-04-09 (Sat, 09 Apr 2022)

  Changed paths:
    M libcxx/include/__format/buffer.h
    M libcxx/include/format

  Log Message:
  -----------
  [libc++][format][4/6] Improve formatted_size.

Use a specialized "buffer" to count the number of insertions instead of
using a `string` as storage type.

Depends on D110497.

Reviewed By: ldionne, #libc

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




More information about the All-commits mailing list