[all-commits] [llvm/llvm-project] 70bba9: [libcxx] Don't truncate intermediates to wchar_t w...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Oct 27 14:59:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 70bba9ef3530b4a45fba1aabe413b56d7b54cc9f
      https://github.com/llvm/llvm-project/commit/70bba9ef3530b4a45fba1aabe413b56d7b54cc9f
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-10-27 (Tue, 27 Oct 2020)

  Changed paths:
    M libcxx/include/__locale

  Log Message:
  -----------
  [libcxx] Don't truncate intermediates to wchar_t when widening

On windows, wchar_t is 16 bit, while we might be widening chars to
char32_t.

This cast had been present since the initial commit, and removing it
doesn't seem to make any tests fail.

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




More information about the All-commits mailing list