Skip to content
Commit 9521c184 authored by Reid Kleckner's avatar Reid Kleckner
Browse files

[IR] Keep a double break between functions when printing a module

This behavior appears to have changed unintentionally in
b0e97972.

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
parent c7feb6b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment