diff mbox series

Fix leaf-mode formatting of decl <-> defn diffs.

Message ID 20200616121210.24124-1-gprocida@google.com
State Committed
Headers show
Series Fix leaf-mode formatting of decl <-> defn diffs. | expand

Commit Message

Giuliano Procida June 16, 2020, 12:12 p.m. UTC
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 <gprocida@google.com>
---
 src/abg-leaf-reporter.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dodji Seketeli June 16, 2020, 2:21 p.m. UTC | #1
Giuliano Procida <gprocida@google.com> a écrit:

> 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 <gprocida@google.com>

Applied to master, thanks!

Cheers,
diff mbox series

Patch

diff --git a/src/abg-leaf-reporter.cc b/src/abg-leaf-reporter.cc
index b171d649..0b991cec 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;
       }