[clang] [clang][Interp] Three-way comparisons (PR #65901)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 26 06:31:53 PDT 2023
================
@@ -253,6 +253,29 @@ bool ByteCodeExprGen<Emitter>::VisitBinaryOperator(const BinaryOperator *BO) {
return this->delegate(RHS);
}
+ // Special case for C++'s three-way/spaceship operator <=>, which
+ // returns a std::strong_ordering (which is class, so doesn't have a
----------------
erichkeane wrote:
I already put that up, but I see lower you refer to all 3, so this is just a request to modify that comment as necessary.
https://github.com/llvm/llvm-project/pull/65901
More information about the cfe-commits
mailing list