[all-commits] [llvm/llvm-project] 75ecd1: [libcxx][format] Fix how we handle char traits in ...

DanielMcIntosh-IBM via All-commits all-commits at lists.llvm.org
Thu Nov 11 11:49:54 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75ecd1f38c6feab159034dc3bbf30aaaf72bbac2
      https://github.com/llvm/llvm-project/commit/75ecd1f38c6feab159034dc3bbf30aaaf72bbac2
  Author: Daniel McIntosh <Daniel.McIntosh at ibm.com>
  Date:   2021-11-11 (Thu, 11 Nov 2021)

  Changed paths:
    M libcxx/include/__format/formatter_string.h

  Log Message:
  -----------
  [libcxx][format] Fix how we handle char traits in formatter<string> and formatter<string_view>

Right now we drop the char_traits template argument, which presumes that
string<_CharT, _Traits> and string<_CharT> are interchangeable.

Reviewed By: Mordante, #libc, Quuxplusone

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




More information about the All-commits mailing list