sberg added a comment.

In D106924#2919406 <https://reviews.llvm.org/D106924#2919406>, @sberg wrote:

> Bisecting shows that this commit causes
>
>   $ echo foo | clang -E -P -
>   
>   foo
>
> to emit a leading newline now.
>
> That breaks e.g. LibreOffice's `configure`, which uses `echo 
> __clang_version__ | clang -E -P -` to obtain the value of that macro, and 
> expects a single line of output.

I now filed https://bugs.llvm.org/show_bug.cgi?id=51616 "Bad newlines in -E -P 
output after https://reviews.llvm.org/D106924 '[Preprocessor] -E -P: Ensure 
newline after 8 skipped lines.'"


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106924/new/

https://reviews.llvm.org/D106924

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to