]> sourceware.org Git - libabigail.git/commit
Remove <memory> usages from abg_compat
authorMatthias Maennich <maennich@google.com>
Mon, 14 Dec 2020 23:08:53 +0000 (23:08 +0000)
committerDodji Seketeli <dodji@redhat.com>
Tue, 15 Dec 2020 08:08:52 +0000 (09:08 +0100)
commitde344c01227a948c05d6d0f460faf0e025a6af9c
tree979e17577d21227338ce96d69848b286bf865775
parentee3309472a6596280e083bc9e2e9c4c95394d06f
Remove <memory> usages from abg_compat

std::shared_ptr, std::weak_ptr, std::dynamic_pointer_cast,
std::static_pointer_cast are now provided through the language standard,
hence remove the compatibility code for <memory> and adjust all users
accordingly.

* include/abg-cxx-compat.h: Drop compatibility layer for <memory>.
* include/abg-diff-utils.h: migrate abg_compat use to std.
* include/abg-fwd.h: Likewise.
* include/abg-ini.h: Likewise.
* include/abg-interned-str.h: Likewise.
* include/abg-libxml-utils.h: Likewise.
* include/abg-libzip-utils.h: Likewise.
* include/abg-regex.h: Likewise.
* include/abg-reporter.h: Likewise.
* include/abg-sptr-utils.h: Likewise.
* include/abg-tools-utils.h: Likewise.
* include/abg-workers.h: Likewise.
* src/abg-comp-filter.cc: Likewise.
* src/abg-comparison-priv.h: Likewise.
* src/abg-dwarf-reader.cc: Likewise.
* src/abg-ir.cc: Likewise.
* src/abg-reader.cc: Likewise.
* src/abg-suppression.cc: Likewise.
* src/abg-tools-utils.cc: Likewise.
* src/abg-writer.cc: Likewise.
* tests/test-diff-filter.cc: Likewise.
* tests/test-diff-pkg.cc: Likewise.
* tests/test-diff-suppr.cc: Likewise.
* tests/test-read-dwarf.cc: Likewise.
* tests/test-read-write.cc: Likewise.
* tests/test-types-stability.cc: Likewise.
* tests/test-write-read-archive.cc: Likewise.
* tools/abicompat.cc: Likewise.
* tools/abidiff.cc: Likewise.
* tools/abidw.cc: Likewise.
* tools/abilint.cc: Likewise.
* tools/abipkgdiff.cc: Likewise.

Signed-off-by: Matthias Maennich <maennich@google.com>
32 files changed:
include/abg-cxx-compat.h
include/abg-diff-utils.h
include/abg-fwd.h
include/abg-ini.h
include/abg-interned-str.h
include/abg-libxml-utils.h
include/abg-libzip-utils.h
include/abg-regex.h
include/abg-reporter.h
include/abg-sptr-utils.h
include/abg-tools-utils.h
include/abg-workers.h
src/abg-comp-filter.cc
src/abg-comparison-priv.h
src/abg-dwarf-reader.cc
src/abg-ir.cc
src/abg-reader.cc
src/abg-suppression.cc
src/abg-tools-utils.cc
src/abg-writer.cc
tests/test-diff-filter.cc
tests/test-diff-pkg.cc
tests/test-diff-suppr.cc
tests/test-read-dwarf.cc
tests/test-read-write.cc
tests/test-types-stability.cc
tests/test-write-read-archive.cc
tools/abicompat.cc
tools/abidiff.cc
tools/abidw.cc
tools/abilint.cc
tools/abipkgdiff.cc
This page took 0.034617 seconds and 5 git commands to generate.