enum class Sema::DefaultedComparisonKind

Description

Kinds of defaulted comparison operator functions.

Declared at: clang/include/clang/Sema/Sema.h:1527

Enumerators

NameValueComment
None0This is not a defaultable comparison operator.
Equal1This is an operator== that should be implemented as a series of subobject comparisons.
ThreeWay2This is an operator < => that should be implemented as a series of subobject comparisons.
NotEqual3This is an operator!= that should be implemented as a rewrite in terms of a == comparison.
Relational4This is an < , < =, >, or >= that should be implemented as a rewrite in terms of a < => comparison.