if (diff *iface_diff = get_current_topmost_iface_diff())
{
type_or_decl_base_sptr iface = iface_diff->first_subject();
- // So this diff node carries a leaf change. Let's add it
- // to the set of of leaf diffs of corpus_diff_node.
+ // So, this diff node that is reachable from a global
+ // function or variable carries a leaf change. Let's add
+ // it to the set of of leaf diffs of corpus_diff_node.
const_cast<corpus_diff*>(corpus_diff_node)->
get_leaf_diffs().insert_diff_node(d, iface);
}
!= priv_->get_public_types_pretty_representations()->end());
}
-/// Getter ofa a sorted vector of the types that are *NOT* reachable
+/// Getter of a sorted vector of the types that are *NOT* reachable
/// from public interfaces.
///
/// Note that for this to be non-empty, the libabigail reader that
///
/// @param l the left-hand operand of the equality.
///
-/// @param r the right-hand operatnr of the equality.
+/// @param r the right-hand operator of the equality.
///
/// @return true iff @p l is different from @p r.
bool
/// Set the "has_anonymous_parent" flag of the current declaration.
///
-/// Having an anoymous parent means having a anonymous parent scope
+/// Having an anonymous parent means having a anonymous parent scope
/// (containing type or namespace) which is either direct or indirect.
///
/// @param f set the flag which says if the current decl has a direct
/// are only considered during the construction of the ABI corpus.
/// For instance, they are not taken into account during e.g
/// comparisons of two ABI corpora that might happen later. If you
-/// want to apply suppression specificatins to the comparison (or
+/// want to apply suppression specifications to the comparison (or
/// reporting) of ABI corpora please refer to the documentation of the
/// @ref diff_context type to learn how to set suppressions that are
/// to be used in that context.