[PATCH v4] Add .clang-format
Simon Marchi
simark@simark.ca
Wed Oct 8 22:24:50 GMT 2025
On 10/6/25 3:39 PM, Tom Tromey wrote:
>>>>>> "Andrew" == Andrew Pinski <pinskia@gmail.com> 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 style well would have to go through all the settings to see.
I've said earlier regarding sharing the .clang-format with binutils: I
personally care very little about the actual formatting, I care that
it can be automated. So if the gcc folks feel strongly about some
aspect of the formatting, there is a 99.99% chance that I will be
perfectly fine with that choice.
Simon
More information about the Binutils
mailing list