[libcxx-commits] [libcxx] [libc++][format] P3142R0: Printing Blank Lines with `println` (PR #87277)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 8 08:51:33 PDT 2024


mordante wrote:

I had a look and a similar test `std/input.output/iostream.format/print.fun/println.sh.cpp` passes on this platform. Maybe the issue is that the output only contains `\n`. Maybe changing the test to
```
print("hello world");
println();
```
might solve the issue. @Zingam can you provide a followup patch to make this change?
@vvereschaka would you be able to test that followup patch? Do you feel this is so urgent it warrants a temporary revert?

If the suggested solution works we should add comment why we output we do that.

https://github.com/llvm/llvm-project/pull/87277


More information about the libcxx-commits mailing list