]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: derive(Ord, PartialOrd): Handle tuples properly
authorArthur Cohen <arthur.cohen@embecosm.com>
Fri, 18 Apr 2025 16:30:46 +0000 (18:30 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 5 Aug 2025 14:36:47 +0000 (16:36 +0200)
commit2cf21f899577fa534bcf0e5854d77a82472234ab
tree84843bda4ce56f948baa0c5360ecbc72b4f18be9
parente188ba2fd7fb6d3fe5ff575cee76867a33add0be
gccrs: derive(Ord, PartialOrd): Handle tuples properly

gcc/rust/ChangeLog:

* expand/rust-derive-ord.cc (is_last): Remove.
(DeriveOrd::visit_tuple): Fix implementation.
gcc/rust/expand/rust-derive-ord.cc