[all-commits] [llvm/llvm-project] 791bdb: [Support] Format provider improvements

Vladislav Vinogradov via All-commits all-commits at lists.llvm.org
Wed Nov 9 04:56:39 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 791bdba0b183371ca3e16bb8411a059b4f8636ac
      https://github.com/llvm/llvm-project/commit/791bdba0b183371ca3e16bb8411a059b4f8636ac
  Author: Vladislav Vinogradov <v.vinogradov at yadro.com>
  Date:   2022-11-09 (Wed, 09 Nov 2022)

  Changed paths:
    M llvm/include/llvm/Support/FormatProviders.h
    M llvm/unittests/Support/FormatVariadicTest.cpp

  Log Message:
  -----------
  [Support] Format provider improvements

Remove `std::forward` call for `iterator_range` iterator de-reference.
It fixes formatting usage for some tricky cases, like special ranges,
which de-reference to value type.

Reviewed By: sammccall

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




More information about the All-commits mailing list