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

* 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>
This commit is contained in:
Giuliano Procida 2020-12-03 15:09:00 +00:00 committed by Dodji Seketeli
parent 4f8c9b170d
commit f10d1fc1dd

View File

@ -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