summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@redhat.com>2022-03-01 11:56:37 +0100
committerDodji Seketeli <dodji@redhat.com>2022-03-01 12:03:22 +0100
commit67d6b8e1c83f362adb4bcad13a49bbf48cd279b4 (patch)
tree6910038c5e38ae23918a4b4f1665fee5bd3335eb
parentreader: Fix a compilation warning (diff)
downloadlibabigail-67d6b8e1c83f362adb4bcad13a49bbf48cd279b4.tar.gz
libabigail-67d6b8e1c83f362adb4bcad13a49bbf48cd279b4.tar.bz2
libabigail-67d6b8e1c83f362adb4bcad13a49bbf48cd279b4.tar.xz
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>
-rw-r--r--src/abg-ir.cc9
1 files changed, 0 insertions, 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)
17735} 17735}
17736/// Equality operator 17736/// Equality operator
17737/// 17737///
17738/// When environment::use_enum_binary_only_equality() is true, this
17739/// equality operator only cares about the value of the enumerator.
17740/// It doesn't take the name of the enumerator into account. This is
17741/// the ABI-oriented default equality operator.
17742///
17743/// When the environment::use_enum_binary_only_equality() is false
17744/// however, then this equality operator also takes the name of the
17745/// enumerator into account as well as the value.
17746///
17747/// @param other the enumerator to compare to the current 17738/// @param other the enumerator to compare to the current
17748/// instance of enum_type_decl::enumerator. 17739/// instance of enum_type_decl::enumerator.
17749/// 17740///