[PATCH 0/3] Bug 21485 - problems compiling with clang

Giuliano Procida gprocida@google.com
Thu Jul 9 18:22:47 GMT 2020


Hi.

This short series fixes a known issue with Clang compilation of
libabigail and error-overloaded-virtual warnings.

The first patch removes an unused function.
The second patch fixes a latent bug detected by the warning.
The third patch enables the warning.

Regards,
Giuliano.

Giuliano Procida (3):
  Drop traversable_base::traverse method.
  Fix inheritance of scope_decl::insert_member_decl
  Enable Clang's -Werror-overloaded-virtual.

 configure.ac           |  6 ------
 include/abg-ir.h       |  3 +--
 include/abg-traverse.h | 21 ++++++---------------
 src/Makefile.am        |  1 -
 src/abg-ir.cc          |  2 +-
 src/abg-traverse.cc    | 43 ------------------------------------------
 6 files changed, 8 insertions(+), 68 deletions(-)
 delete mode 100644 src/abg-traverse.cc

-- 
2.27.0.383.g050319c2ae-goog



More information about the Libabigail mailing list