From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E334F383E426; Thu, 15 Dec 2022 20:22:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E334F383E426 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671135741; bh=lOjLcaPPhtw0Lbne0/Hgz6MGhTtQN9eKlYIHZAP47A0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CtXwncXAcBZR77FKOo02Aq9bMfSVuqoSGOhfXyBF7QhFlxSfD9Cbm+3KJcn9uSTKu pzHIKV7rxx11AZYd1ePuyypDbFfbjUOP9KSC5zyMckPIbtCMEgRMNKSUwHeJ4YG6+e hLjo5s6gyg+zYu9HYeSvXAAqoPf+Xd4arZbFtOso= From: "dkm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rust/108111] Rust meets clang Date: Thu, 15 Dec 2022 20:22:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rust X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dkm at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108111 --- Comment #3 from Marc Poulhi=C3=A8s --- Thanks Jonathan for the suggestion. The lexer code still need some refactor because the Source type (2nd templa= te argument to buffered_queue) is expected to have a next() method and is used with both a InputSource& and a TokenSource. I have a local patch but still = need to use clang to check the fix first :)=