From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2296938555A2; Tue, 14 Jan 2025 23:34:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2296938555A2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1736897692; bh=npD4qZrwmLXutWrffjzfhN2G4oKwIxpu2t+3/x5zbt4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lW113SnnKKLgNg65SKBNarhV9raco84cWm6MmlGDAF5r6PyfRNPujdycYEFvR1s53 pumYhM2+vPtINH5VVFr8cZVC1LNDiWpbhzkME4Natdgdw1HCLM3VXKbuMuXPWWrCo4 p0BXW8dlIGxIL3YjBkllD+bEfkjhIZdY3uyqtEac= 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:34:51 +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 #17 from Tom Tromey --- Here's a case where the formatter tries to be as concise as possible, but which IMO negatively affects readability: static enum debug_loc_kind -decode_debug_loc_dwo_addresses (dwarf2_per_cu_data *per_cu, - dwarf2_per_objfile *per_objfile, - const gdb_byte *loc_ptr, - const gdb_byte *buf_end, - const gdb_byte **new_ptr, - unrelocated_addr *low, - unrelocated_addr *high, - enum bfd_endian byte_order) +decode_debug_loc_dwo_addresses ( + dwarf2_per_cu_data *per_cu, dwarf2_per_objfile *per_objfile, + const gdb_byte *loc_ptr, const gdb_byte *buf_end, const gdb_byte **new_p= tr, + unrelocated_addr *low, unrelocated_addr *high, enum bfd_endian byte_orde= r) { --=20 You are receiving this mail because: You are on the CC list for the bug.=