The Git repository of the Libabigail Project
Go to file
Giuliano Procida 1a3c6ec12a Make set_drops_artifact_from_ir non-const.
Setters should be non-const but set_drops_artifact_from_ir isn't.
This patch fixes this.

This reason this didn't cause a compilation failure is that const
shared_ptr<X> is equivalent to X *const, not const X*.

Note that resolving the apparent const-safety issue will require
std::experimental::propagate_const or similar.

	* include/abg-suppression.h
	(suppression_base::set_drops_artifact_from_ir):
	Drop const qualifier.
	* src/abg-suppression.cc
	(suppression_base::set_drops_artifact_from_ir):
	Drop const qualifier.

Reviewed-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Giuliano Procida <gprocida@google.com>
2020-05-11 14:36:55 +02:00
autoconf-archive
bash-completion
doc Add --no-write-default-sizes option. 2020-04-29 11:56:40 +02:00
include Make set_drops_artifact_from_ir non-const. 2020-05-11 14:36:55 +02:00
m4
scripts
src Make set_drops_artifact_from_ir non-const. 2020-05-11 14:36:55 +02:00
tests corpus/writer: sort emitted translation units by path name 2020-05-05 13:09:34 +02:00
tools Add --no-write-default-sizes option. 2020-04-29 11:56:40 +02:00
.clang-format
.gitignore
abigail.m4
AUTHORS
ChangeLog
COMMIT-LOG-GUIDELINES
COMPILING
configure.ac configure: add support for memory sanitizer (--enable-msan) 2020-03-18 22:22:35 +01:00
CONTRIBUTING
COPYING
COPYING-GPLV3
COPYING-LGPLV2
COPYING-LGPLV3
default.abignore
gen-changelog.py
install-sh
libabigail.pc.in
ltmain.sh
Makefile.am make: add distcheck-fast target 2020-04-20 14:38:32 +02:00
NEWS
README
release-text-template.txt
update-copyright.sh
VISIBILITY

This is the Application Binary Interface Generic Analysis and
Instrumentation Library.

It aims at constructing, manipulating, serializing and de-serializing
ABI-relevant artifacts.

The set of artifacts that we are intersted is made of quantities like
types, variable, fonctions and declarations of a given library or
program.  For a given library or program this set of quantities is
called an ABI corpus.

This library aims at (among other things) providing a way to compare
two ABI Corpora (apparently the plural of corpus is copora, heh,
that's cool), provide detailed information about their differences,
and help build tools to infer interesting conclusions about these
differences.

You are welcome to contribute to this project after reading the files
CONTRIBUTING and COMMIT-LOG-GUIDELINES files in the source tree.

Communicating with the maintainers of this project -- including
sending patches to be include to the source code -- happens via email
at libabigail@sourceware.org.