[Bug rust/108111] Rust meets clang
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 16 17:24:20 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108111
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Arthur Cohen <cohenarthur@gcc.gnu.org>:
https://gcc.gnu.org/g:2046aec032f743023a5e353735255d951e2e54d6
commit r14-7347-g2046aec032f743023a5e353735255d951e2e54d6
Author: Marc Poulhiès <dkm@kataplop.net>
Date: Sat Dec 17 16:23:05 2022 +0100
gccrs: fix some clang warnings
This fixes some extra warnings reported by clang.
gcc/rust/ChangeLog:
PR rust/108111
* ast/rust-ast-full-decls.h (StructPatternElements): Declare as a
class.
* ast/rust-item.h (EnumItem): Mark several method as being
overrides.
* ast/rust-pattern.h (StructPattern::get_locus): Add override.
* lex/rust-lex.h (BufferInputSource): Use reference_wrapper
instead of bare reference.
(TokenSource::get): Add method to implement the reference_wrapper
interface.
* typecheck/rust-tyty.h (TypeBoundPredicate): Add empty dtor.
* util/rust-buffered-queue.h (peek): Source token stream is now
using a reference_wrapper, use .get()
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gcc-rust
mailing list