[PATCH, applying to mainline] ir: Fix wording of several comments
Dodji Seketeli
dodji@redhat.com
Mon Feb 12 21:23:29 GMT 2024
Hello,
* src/abg-ir.cc: (get_decl_name_for_comparison)
(class_or_union::add_data_member) Fix comment wording.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Applying to the master branch.
---
src/abg-ir.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/abg-ir.cc b/src/abg-ir.cc
index 81549bbf..42fe022e 100644
--- a/src/abg-ir.cc
+++ b/src/abg-ir.cc
@@ -5322,7 +5322,7 @@ get_decl_name_for_comparison(const decl_base &d)
if (has_generic_anonymous_internal_type_name(&d)
&& d.get_is_anonymous())
{
- // The decl is anonymous. It should have the same name ass the
+ // The decl is anonymous. It should have the same name as the
// other anymous types of the same kind.
string r;
r += get_generic_anonymous_internal_type_name(&d);
@@ -23315,7 +23315,7 @@ class_or_union::add_data_member(var_decl_sptr v, access_specifier access,
if (!is_static)
{
// If this is a non-static variable, add it to the set of
- // non-static variables, if it's not only in there.
+ // non-static variables, if it's not already in there.
bool is_already_in = false;
for (data_members::const_iterator i =
priv_->non_static_data_members_.begin();
--
2.39.3
--
Dodji
More information about the Libabigail
mailing list