mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-16 23:14:36 +00:00
The Git repository of the Libabigail Project
be03a27f21
The change_kind enumeration (bitset) values are used to track what kinds of a changes are present at a diff node. Local type and non-type changes may be present. These are tracked using 3 bits, with the invariant that LOCAL_TYPE_CHANGE_KIND or LOCAL_NON_TYPE_CHANGE_KIND both imply LOCAL_CHANGE_KIND. This invariant has to be maintained in code which doesn't always happen. This patch fixes a couple of cases where LOCAL_CHANGE_KIND or LOCAL_TYPE_CHANGE_KIND was missing and changes a few other bits of code so that it is clear that two bits are being paired together. A follow-up patch will drop LOCAL_CHANGE_KIND as it is now completely redundant. * src/abg-comparison.cc (distinct_diff::has_local_changes): Remove unnecessary parentheses around return expression. * src/abg-default-reporter.cc (report): In the reference_diff overload, replace test against LOCAL_CHANGE_KIND with test against ALL_LOCAL_CHANGES_MASK. * src/abg-ir.cc (equals): In the array_type_def and class_decl overloads, add missing LOCAL_TYPE_CHANGE_KIND. In the class_decl overload, also add missing LOCAL_CHANGE_KIND. In the enum_type_decl and function_decl::parameter overloads clarify pairing of LOCAL*CHANGE_KIND bits. (enum_has_non_name_change): Clarify pairing of LOCAL*CHANGE_KIND bits. Signed-off-by: Giuliano Procida <gprocida@google.com> Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
autoconf-archive | ||
bash-completion | ||
doc | ||
include | ||
m4 | ||
scripts | ||
src | ||
tests | ||
tools | ||
.clang-format | ||
.gitignore | ||
abigail.m4 | ||
AUTHORS | ||
ChangeLog | ||
COMMIT-LOG-GUIDELINES | ||
COMPILING | ||
configure.ac | ||
CONTRIBUTING | ||
COPYING | ||
COPYING-GPLV3 | ||
COPYING-LGPLV2 | ||
COPYING-LGPLV3 | ||
default.abignore | ||
gen-changelog.py | ||
install-sh | ||
libabigail.pc.in | ||
ltmain.sh | ||
Makefile.am | ||
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.