From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8D18C385C41A; Tue, 14 Jan 2025 23:27:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D18C385C41A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1736897249; bh=RIiAFu511IkFHODo68+xGfy2uPnqeCRGnlM3BIiWtxI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Wq8RXBiWXbYR6QKm2MgjBk1iFwIX8Osyp0IAud8dQ56TfrleFrDtg2tSTXe9iBeUS +uxQmrXc2OGG+zqEDafsQAWKXitS2TK7b9+BvnfI7eYHxe4QZKS1gllHGbW81dSQws VqmhYfgH6dU1GEgqWiXnpFaYxFj1zstTlDp6ogeA= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug build/30098] Keep trying clang-format Date: Tue, 14 Jan 2025 23:27:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30098 --- Comment #13 from Tom Tromey --- I'm trying it a bit more. There doesn't seem to be a way to fix lambdas. We'd have to use "BreakBeforeBraces: Custom", but "GNU" mode here has special behavior that I don't see how to reproduce. Maybe I'm missing it. Anyway this results in: - auto open =3D [&] (bfd *nbfd) -> gdb_bfd_iovec_base * - { + auto open =3D [&] (bfd *nbfd) -> gdb_bfd_iovec_base * { return gdb_bfd_iovec_fileio_open (nbfd, current_inferior (), warn_if_slow); --=20 You are receiving this mail because: You are on the CC list for the bug.=