[applied] abg-comp-filter: Fix some documentation thinko

Message ID 87tt6xwo18.fsf@redhat.com
State New
Headers
Series [applied] abg-comp-filter: Fix some documentation thinko |

Commit Message

Dodji Seketeli April 9, 2025, 11:51 a.m. UTC
  Hello,

While reviewing something else, I noticed some thinkos in the apidoc
strings for class_diff_has_only_harmless_changes,
has_var_harmful_local_change and has_incompatible_fn_or_var_change
are mentioning "potential harmful changes", instead of "harmful
changes".  Fixed thus.

	* src/abg-comp-filter.cc (class_diff_has_only_harmless_changes)
	(has_var_harmful_local_change, has_incompatible_fn_or_var_change):
	Fix thinkos.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Applied to the mainline.
---
 src/abg-comp-filter.cc | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
  

Patch

diff --git a/src/abg-comp-filter.cc b/src/abg-comp-filter.cc
index d6609223..23628f91 100644
--- a/src/abg-comp-filter.cc
+++ b/src/abg-comp-filter.cc
@@ -333,7 +333,7 @@  has_offset_changes(const string_decl_base_sptr_map& f_data_members,
 
 /// Test if the local changes of a @ref class_diff are harmless.
 ///
-/// Potentially harmful changes are basically:
+/// Harmful changes are basically:
 ///   1/ name change (that changes the type altogether)
 ///   2/ size change
 ///   3/ offset change of any data member
@@ -373,7 +373,7 @@  class_diff_has_only_harmless_changes(const class_diff* d)
 
 /// Test if the local changes of a @ref class_diff are harmless.
 ///
-/// Potentially harmful changes are basically:
+/// Harmful changes are basically:
 ///   1/ name change (that changes the type altogether)
 ///   2/ size change
 ///   3/ offset change of any data member
@@ -2131,9 +2131,9 @@  has_var_harmful_local_change(const diff_sptr& d)
 
 /// Test if a diff node carries an incompatible ABI change.
 ///
-/// An incompatible ABI change is a potentially harmful ABI change
-/// (i.e, one that cannot be filtered out) that definitely makes the
-/// new ABI incompatible with the previous one.
+/// An incompatible ABI change is a harmful ABI change (i.e, one that
+/// cannot be filtered out) that definitely makes the new ABI
+/// incompatible with the previous one.
 ///
 /// @param d the diff node to consider.
 ///
@@ -2148,9 +2148,9 @@  has_incompatible_fn_or_var_change(const diff* d)
 
 /// Test if a diff node carries an incompatible ABI change.
 ///
-/// An incompatible ABI change is a potentially harmful ABI change
-/// (i.e, one that cannot be filtered out) that definitely makes the
-/// new ABI incompatible with the previous one.
+/// An incompatible ABI change is a harmful ABI change (i.e, one that
+/// cannot be filtered out) that definitely makes the new ABI
+/// incompatible with the previous one.
 ///
 /// @param d the diff node to consider.
 ///