public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] ir: Remove obsolete comment from enumerator equal operator
@ 2022-03-01 11:05 Dodji Seketeli
  0 siblings, 0 replies; only message in thread
From: Dodji Seketeli @ 2022-03-01 11:05 UTC (permalink / raw)
  To: libabigail

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-01 11:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01 11:05 [PATCH] ir: Remove obsolete comment from enumerator equal operator 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).