From 4e256018d3b4461009faba99f1c36b9517db78f6 Mon Sep 17 00:00:00 2001 From: Giuliano Procida Date: Tue, 16 Jun 2020 13:12:10 +0100 Subject: [PATCH] Fix leaf-mode formatting of decl <-> defn diffs. This commit adds a missing newline. * src/abg-leaf-reporter.cc (leaf_reporter::report): In the class_or_union_diff overload, add a terminating new line after reporting a declaration-only <-> definition difference. Signed-off-by: Giuliano Procida --- src/abg-leaf-reporter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/abg-leaf-reporter.cc b/src/abg-leaf-reporter.cc index f9d905ab..0c20ee41 100644 --- a/src/abg-leaf-reporter.cc +++ b/src/abg-leaf-reporter.cc @@ -475,7 +475,7 @@ leaf_reporter::report(const class_or_union_diff& d, : " and is now a defined type"; out << indent << "type " << first->get_pretty_representation() - << was << is_now; + << was << is_now << "\n"; return; }