* [PATCH, applying to mainline] ir: Fix wording of several comments
@ 2024-02-12 21:23 Dodji Seketeli
0 siblings, 0 replies; only message in thread
From: Dodji Seketeli @ 2024-02-12 21:23 UTC (permalink / raw)
To: libabigail
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-12 21:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-12 21:23 [PATCH, applying to mainline] ir: Fix wording of several comments Dodji Seketeli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).