abidiff: support --dump-diff-tree with --leaf-changes-only

Message ID 20201203150900.3538474-1-gprocida@google.com
State Committed, archived
Headers
Series abidiff: support --dump-diff-tree with --leaf-changes-only |

Commit Message

Giuliano Procida Dec. 3, 2020, 3:09 p.m. UTC
  * src/abg-leaf-reporter.cc (leaf_reporter::report): In the
	corpus_diff override, conclude by calling
	maybe_dump_diff_tree.

Signed-off-by: Giuliano Procida <gprocida@google.com>
---
 src/abg-leaf-reporter.cc | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Dodji Seketeli Dec. 4, 2020, 9:02 a.m. UTC | #1
Hello Giuliano,

Giuliano Procida <gprocida@google.com> a écrit:

> 	* src/abg-leaf-reporter.cc (leaf_reporter::report): In the
> 	corpus_diff override, conclude by calling
> 	maybe_dump_diff_tree.
>
> Signed-off-by: Giuliano Procida <gprocida@google.com>

Applied to master.  Thanks!

[...]

Cheers,
  

Patch

diff --git a/src/abg-leaf-reporter.cc b/src/abg-leaf-reporter.cc
index 564f3376..07391720 100644
--- a/src/abg-leaf-reporter.cc
+++ b/src/abg-leaf-reporter.cc
@@ -1451,6 +1451,8 @@  leaf_reporter::report(const corpus_diff& d,
   // Report added/removed/changed types not reacheable from public
   // interfaces.
   maybe_report_unreachable_type_changes(d, s, indent, out);
+
+  d.priv_->maybe_dump_diff_tree();
 }
 } // end namespace comparison
 } // end namespace abigail