Misc typo fixes
authorDodji Seketeli <dodji@redhat.com>
Tue, 3 Dec 2019 17:35:10 +0000 (18:35 +0100)
committerDodji Seketeli <dodji@redhat.com>
Mon, 6 Jan 2020 13:26:06 +0000 (14:26 +0100)
* src/abg-comparison.cc
(leaf_diff_node_marker_visitor::visit_begin): Fix typo in
comments.
* src/abg-corpus.cc
(corpus::get_types_not_reachable_from_public_interfaces):
Likewise.
* src/abg-ir.cc (decl_base::set_has_anonymous_parent): Likewise.
* src/abg-reader.cc (add_read_context_suppressions): Likewise.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-comparison.cc
src/abg-corpus.cc
src/abg-ir.cc
src/abg-reader.cc

index 962811a74f0b96f6dd6a81201512e4cef8ab8d55..06745d310f20f0d5349acf44af0e97079e5546f5 100644 (file)
@@ -10737,8 +10737,9 @@ struct leaf_diff_node_marker_visitor : public diff_node_visitor
        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);
          }
index 4088ff995366db43d08db63a3ecd91f533329fc5..baed8e53a4ad7a700e353a8d9d56bc31c5d53251 100644 (file)
@@ -678,7 +678,7 @@ corpus::type_is_reachable_from_public_interfaces(const type_base& t) const
          !=  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
index 9ac24c38365045c5195cc4bbde76237eb48583aa..e4fd99405e11177cd85302f4d98616bd4b33ea6b 100644 (file)
@@ -3270,7 +3270,7 @@ operator==(const type_or_decl_base_sptr& l, const type_or_decl_base_sptr& r)
 ///
 /// @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
@@ -3623,7 +3623,7 @@ decl_base::get_has_anonymous_parent() const
 
 /// 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
index 61d5de96955b309c8f188dff8b5906cf3d22a17a..eef6432650f7dc7ff71375038ed021abe89b3437 100644 (file)
@@ -1769,7 +1769,7 @@ read_elf_needed_from_input(read_context&  ctxt,
 /// 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.