mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-31 16:00:00 +00:00
If a diff node is in NO_CHANGE_CATEGORY do not report it anymore
* src/abg-comparison.cc (diff::is_filtered_out): Now that we seem to be flagging every changes to a class into a category, we do not need to dive into reporting a diff not that is categorized as NO_CHANGE_CATEGORY anymore. So let's have the implementation that one would expect for this function. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
728f4f2fcc
commit
13af201739
@ -541,8 +541,11 @@ diff_context::show_added_vars() const
|
||||
/// @return true iff the current diff node should NOT be reported.
|
||||
bool
|
||||
diff::is_filtered_out() const
|
||||
{return (get_category() != NO_CHANGE_CATEGORY
|
||||
&& !(get_category() & context()->get_allowed_category()));}
|
||||
{
|
||||
if (context()->get_allowed_category() == EVERYTHING_CATEGORY)
|
||||
return false;
|
||||
return !(get_category() & context()->get_allowed_category());
|
||||
}
|
||||
|
||||
/// Test if this diff tree node should be reported.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user