diff options
author | Reid Kleckner <rnk@google.com> | 2020-01-27 13:49:09 -0800 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2020-01-27 15:31:09 -0800 |
commit | 9521c18438a9f09663f3dc68aa7581371c0653c9 (patch) | |
tree | e38aeb3014b4df837c3200d915516b9a3e2cc9ea /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c7feb6b36aa8dac3cd20ffb9ad5980693ea9916e (diff) | |
download | llvm-9521c18438a9f09663f3dc68aa7581371c0653c9.zip llvm-9521c18438a9f09663f3dc68aa7581371c0653c9.tar.gz llvm-9521c18438a9f09663f3dc68aa7581371c0653c9.tar.bz2 |
[IR] Keep a double break between functions when printing a module
This behavior appears to have changed unintentionally in
b0e979724f2679e4e6f5b824144ea89289bd6d56.
Instead of printing the leading newline in printFunction, print it when
printing a module. This ensures that `OS << *Func` starts printing
immediately on the current line, but whole modules are printed nicely.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D73505
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions