From patchwork Wed Jan 1 00:00:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksei Vetrov via Libabigail X-Patchwork-Id: 39017 X-Patchwork-Original-From: libabigail@sourceware.org (Matthias Maennich via libabigail) From: Aleksei Vetrov via Libabigail Date: Wed, 01 Jan 2020 00:00:00 -0000 Subject: [PATCH 0/2] corpus/writer: omit empty corpora In-Reply-To: <20200113144451.46359-1-maennich@google.com> References: <20200113144451.46359-1-maennich@google.com> Message-ID: <20200120150644.GD230709@google.com> On Mon, Jan 13, 2020 at 02:44:49PM +0000, Matthias Maennich wrote: >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. > I applied the series with the documentation changes mentioned. Cheers, Matthias >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(-) > >-- >2.25.0.rc1.283.g88dfdc4193-goog >