Fix leaf-mode formatting of decl <-> defn diffs.
Commit Message
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
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,
@@ -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;
}