From: Dodji Seketeli <dodji@redhat.com>
To: libabigail@sourceware.org
Subject: [PATCH, applying to mainline] ir: Fix wording of several comments
Date: Mon, 12 Feb 2024 22:23:29 +0100 [thread overview]
Message-ID: <87h6idz8a6.fsf@redhat.com> (raw)
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
reply other threads:[~2024-02-12 21:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h6idz8a6.fsf@redhat.com \
--to=dodji@redhat.com \
--cc=libabigail@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).