[clang] [clang][Interp] Three-way comparisons (PR #65901)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 26 21:47:56 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
----------------
tbaederr wrote:
Right, I wrote that comment for the first test case I had. Updated it, thanks.
https://github.com/llvm/llvm-project/pull/65901
More information about the cfe-commits
mailing list