[PATCH] D106924: [Preprocessor] -E -P: Ensure newline after 8 skipped lines.
Stephan Bergmann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 2 03:05:36 PDT 2021
sberg added a comment.
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.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106924/new/
https://reviews.llvm.org/D106924
More information about the cfe-commits
mailing list