public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: Dodji Seketeli <dodji@seketeli.org>
To: libabigail@sourceware.org
Subject: [PATCH] ir: Remove obsolete comment from enumerator equal operator
Date: Tue, 01 Mar 2022 12:05:08 +0100	[thread overview]
Message-ID: <87czj6j5ln.fsf@seketeli.org> (raw)

Hello,

While looking at something else, I realized that some parts of the
comment of the equal operator of enumerator are obsolete.  I am
removing it.

	* src/abg-ir.cc (enum_type_decl::enumerator::operator==): Remove
	the obsolete parts from the comment.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
---
 src/abg-ir.cc | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/abg-ir.cc b/src/abg-ir.cc
index 4afe2d61..1554be68 100644
--- a/src/abg-ir.cc
+++ b/src/abg-ir.cc
@@ -17735,15 +17735,6 @@ enum_type_decl::enumerator::operator=(const enumerator& o)
 }
 /// Equality operator
 ///
-/// When environment::use_enum_binary_only_equality() is true, this
-/// equality operator only cares about the value of the enumerator.
-/// It doesn't take the name of the enumerator into account.  This is
-/// the ABI-oriented default equality operator.
-///
-/// When the environment::use_enum_binary_only_equality() is false
-/// however, then this equality operator also takes the name of the
-/// enumerator into account as well as the value.
-///
 /// @param other the enumerator to compare to the current
 /// instance of enum_type_decl::enumerator.
 ///
-- 
2.35.0.rc2


-- 
		Dodji

                 reply	other threads:[~2022-03-01 11:05 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=87czj6j5ln.fsf@seketeli.org \
    --to=dodji@seketeli.org \
    --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).