mbox

[0/2] corpus/writer: omit empty corpora

Message ID 20200113144451.46359-1-maennich@google.com
Headers show

Message

Matthias Maennich via libabigail Jan. 1, 2020, midnight UTC
Empty corpora do not contribute to the ABI surface other than that they are
present but empty and therefore not considered. Hence, drop these entries from
the ABI XML representation.

Matthias Maennich (2):
  corpus: is_empty: consider actual translation unit contents
  writer: completely skip over empty corpora

 src/abg-corpus.cc | 13 ++++++++++++-
 src/abg-writer.cc |  9 +++------
 2 files changed, 15 insertions(+), 7 deletions(-)