From patchwork Wed Apr 29 17:51:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giuliano Procida X-Patchwork-Id: 39183 From: gprocida@google.com (Giuliano Procida) Date: Wed, 29 Apr 2020 18:51:27 +0100 Subject: [PATCH 0/6] Clean-ups Message-ID: <20200429175133.19814-1-gprocida@google.com> These are almost all independent. There's just 1 line of code ending: ? true : false;; Regards, Giuliano. Giuliano Procida (6): Tabify code indentation. Remove excess whitespace. Remove stray semicolons. Eliminate redundant conditional operators. Make set_drops_artifact_from_ir non-const. Hoist some common expressions evaluating offsets. include/abg-diff-utils.h | 2 +- include/abg-fwd.h | 2 +- include/abg-suppression.h | 2 +- src/abg-comparison.cc | 6 +- src/abg-corpus.cc | 4 +- src/abg-default-reporter.cc | 2 +- src/abg-dwarf-reader.cc | 143 +++++++++++++++++----------------- src/abg-ir.cc | 4 +- src/abg-reader.cc | 20 ++--- src/abg-suppression.cc | 30 +++----- src/abg-tools-utils.cc | 12 +-- src/abg-writer.cc | 42 +++++----- tools/abidiff.cc | 2 +- tools/abipkgdiff.cc | 148 ++++++++++++++++++------------------ 14 files changed, 205 insertions(+), 214 deletions(-) Reviewed-by: Matthias Maennich