ir: Remove obsolete comment from enumerator equal operator

Message ID 87czj6j5ln.fsf@seketeli.org
State New
Headers
Series ir: Remove obsolete comment from enumerator equal operator |

Commit Message

Dodji Seketeli March 1, 2022, 11:05 a.m. UTC
  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(-)
  

Patch

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.
 ///