[all-commits] [llvm/llvm-project] ac8349: [NFC][libc++][format] Uses stringstream::view.

Mark de Wever via All-commits all-commits at lists.llvm.org
Tue May 23 09:53:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac8349832ce20398e85b4ac178c82e83a8d6ff0d
      https://github.com/llvm/llvm-project/commit/ac8349832ce20398e85b4ac178c82e83a8d6ff0d
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M libcxx/include/__chrono/formatter.h

  Log Message:
  -----------
  [NFC][libc++][format] Uses stringstream::view.

This member has been added in D148641 so it can be used in the formatter
to avoid creating a "temporary" string.

Reviewed By: #libc, ldionne

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




More information about the All-commits mailing list