mbox

[0/6] Drop C++03 compatibility layer from abg-cxx-compat.h

Message ID 20201214230855.1574934-1-maennich@google.com
Headers

Message

Matthias Männich Dec. 14, 2020, 11:08 p.m. UTC
  This drops the compatiblity layer and clears out the abg_compat namespace from
definitions that are now provided via the standard. Subsequently, fix up the
necessary imports and use std:: names instead.

While abg-cxx-compat.h remains now empty, there are lined up patches that will
make use it again. Hence leave it empty and the corresponding test untouched as
well.

Matthias Maennich (6):
  Drop C++03 compatibility layer
  Remove <functional> usages from abg_compat
  Remove <memory> usages from abg_compat
  Remove <unordered_map> usages from abg_compat
  Remove <unordered_set> usages from abg_compat
  Drop unneccessary includes of abg-cxx-compat.h

 include/abg-comparison.h         |  7 +--
 include/abg-cxx-compat.h         | 52 -------------------
 include/abg-diff-utils.h         |  8 +--
 include/abg-fwd.h                | 15 +++---
 include/abg-ini.h                | 10 ++--
 include/abg-interned-str.h       | 10 ++--
 include/abg-ir.h                 | 17 ++++---
 include/abg-libxml-utils.h       |  4 +-
 include/abg-libzip-utils.h       |  4 +-
 include/abg-regex.h              |  4 +-
 include/abg-reporter.h           |  4 +-
 include/abg-sptr-utils.h         |  8 +--
 include/abg-suppression.h        |  5 +-
 include/abg-tools-utils.h        | 14 +++---
 include/abg-workers.h            |  4 +-
 src/abg-comp-filter.cc           |  4 +-
 src/abg-comparison-priv.h        |  9 ++--
 src/abg-corpus.cc                |  4 +-
 src/abg-dwarf-reader.cc          | 18 ++++---
 src/abg-hash.cc                  | 86 ++++++++++++++++----------------
 src/abg-ir.cc                    | 28 ++++++-----
 src/abg-reader.cc                | 21 ++++----
 src/abg-suppression.cc           |  4 +-
 src/abg-tools-utils.cc           | 15 +++---
 src/abg-writer.cc                | 17 ++++---
 tests/test-diff-filter.cc        |  7 +--
 tests/test-diff-pkg.cc           |  7 +--
 tests/test-diff-suppr.cc         | 15 +++---
 tests/test-read-dwarf.cc         |  7 +--
 tests/test-read-write.cc         | 10 ++--
 tests/test-types-stability.cc    |  7 +--
 tests/test-write-read-archive.cc |  5 +-
 tools/abicompat.cc               | 10 ++--
 tools/abidiff.cc                 |  7 +--
 tools/abidw.cc                   | 10 ++--
 tools/abilint.cc                 | 10 ++--
 tools/abipkgdiff.cc              | 19 +++----
 37 files changed, 227 insertions(+), 259 deletions(-)