mirror of
git://sourceware.org/git/libabigail.git
synced 2025-02-09 18:17:07 +00:00
ae30e5fa96
As a prelude to adding wrapper and helper functions for regex functionality, it makes sense to move the existing regex code (the shared pointer type and its specialised deleter) to their own files. This patch does this and also moves various entities into a new namespace, abigail::regex. It removes the file abg-sptr-utils.cc which only contained regex things. There are no behavioural changes. * include/Makefile.am: Add abg-regex.h. * src/Makefile.am: Remove abg-sptr-utils.h, add abg-regex.cc * include/abg-sptr-utils.h (regex_t_sptr): Remove this typedef, from namespace abigail::sptr_utils. (regex_t_deleter): Remove this struct, from namespace abigail::sptr_utils. (build_sptr): Remove these template specialisations, in duplicate, for regex_t_sptr. * include/abg-regex.h: New file, introduces namespace abigail::regex. (regex_t_sptr): Add this typedef, to namespace abigail::regex. (regex_t_deleter): Add this struct, to namespace abigail::regex. (build_sptr): Add these template specialisations for regex_t_sptr * src/abg-sptr-utils.cc: Remove this file. * src/abg-regex.cc: Add new file with contents effectively the same as abg-sptr-utils.cc. * src/abg-corpus-priv.h: Update regex_t_sptr namespace qualification. * src/abg-corpus.cc: Ditto. * src/abg-suppression-priv.h: Ditto. * src/abg-suppression.cc: Ditto. Signed-off-by: Giuliano Procida <gprocida@google.com> Signed-off-by: Dodji Seketeli <dodji@redhat.com>
31 lines
525 B
Makefile
31 lines
525 B
Makefile
pkginclude_HEADERS = \
|
|
abg-sptr-utils.h \
|
|
abg-interned-str.h \
|
|
abg-ir.h \
|
|
abg-corpus.h \
|
|
abg-reader.h \
|
|
abg-dwarf-reader.h \
|
|
abg-writer.h \
|
|
abg-comparison.h \
|
|
abg-reporter.h \
|
|
abg-suppression.h \
|
|
abg-comp-filter.h \
|
|
abg-diff-utils.h \
|
|
abg-libxml-utils.h \
|
|
abg-libzip-utils.h \
|
|
abg-fwd.h \
|
|
abg-hash.h \
|
|
abg-tools-utils.h \
|
|
abg-config.h \
|
|
abg-ini.h \
|
|
abg-workers.h \
|
|
abg-traverse.h \
|
|
abg-cxx-compat.h \
|
|
abg-version.h \
|
|
abg-viz-common.h \
|
|
abg-viz-dot.h \
|
|
abg-viz-svg.h \
|
|
abg-regex.h
|
|
|
|
EXTRA_DIST = abg-version.h.in
|