mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-15 06:24:37 +00:00
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:
parent
4358470f07
commit
67d6b8e1c8
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user