ir: Remove obsolete comment from enumerator equal operator

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>
This commit is contained in:
Dodji Seketeli 2022-03-01 11:56:37 +01:00
parent 4358470f07
commit 67d6b8e1c8

View File

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