Re: [PATCH v4] Add .clang-format

2025-10-18 Thread Simon Marchi via Gcc
On 10/6/25 3:39 PM, Tom Tromey wrote: >> "Andrew" == Andrew Pinski writes: > > Andrew> We had a small discussion about this at the cauldron and I think it > Andrew> was agreed that we should include the same across at least GCC, > Andrew> gdb/binutils too. > > IIRC gdb and gcc don't really a

Re: [PATCH v4] Add .clang-format

2025-10-18 Thread Jason Merrill via Gcc
On 10/6/25 10:39 PM, Tom Tromey wrote: "Andrew" == Andrew Pinski writes: Andrew> We had a small discussion about this at the cauldron and I think it Andrew> was agreed that we should include the same across at least GCC, Andrew> gdb/binutils too. IIRC gdb and gcc don't really agree on formatt

Re: [PATCH v4] Add .clang-format

2025-10-18 Thread Tom Tromey
> "Andrew" == Andrew Pinski writes: Andrew> We had a small discussion about this at the cauldron and I think it Andrew> was agreed that we should include the same across at least GCC, Andrew> gdb/binutils too. IIRC gdb and gcc don't really agree on formatting. Someone who knows the gcc styl

Re: [PATCH v4] Add .clang-format

2025-10-18 Thread Andrew Pinski via Gcc
On Mon, Oct 6, 2025 at 11:39 AM Tom Tromey wrote: > > This patch adds a .clang-format file to the gdb repository. > > The resulting reformatting is what I'd describe as "ok but not great". > There are a few variances from our normal style, some discussed in > comments in the file, and some in the