[all-commits] [llvm/llvm-project] aa0b99: [libc++] Fix ostream for complex numbers with fixe...

C. Antonio Sánchez via All-commits all-commits at lists.llvm.org
Thu May 7 10:51:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aa0b991dcf0510793a42a5b01aaf06a6c0892bcf
      https://github.com/llvm/llvm-project/commit/aa0b991dcf0510793a42a5b01aaf06a6c0892bcf
  Author: Antonio Sanchez <cantonios at google.com>
  Date:   2020-05-07 (Thu, 07 May 2020)

  Changed paths:
    M libcxx/include/complex
    M libcxx/test/std/numerics/complex.number/complex.ops/stream_output.pass.cpp

  Log Message:
  -----------
  [libc++] Fix ostream for complex numbers with fixed field width

The ostream operator<< is currently broken for std::complex with
specified field widths.

This patch a partial revert of c3478eff7a65 (reviewed as D71214),
restoring the correct behavior.

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




More information about the All-commits mailing list