automated coding style tool

Maciej W. Rozycki macro@orcam.me.uk
Wed Jan 15 06:03:20 GMT 2025


On Tue, 14 Jan 2025, Tom Tromey wrote:

> Simon> Also, if are missing some features to get the output we want, nobody is
> Simon> going to magically implement them for us.  And if we don't use the tool,
> Simon> there's no motivation for us either to go implement the changes.  I
> Simon> think that the only way to get the ball rolling is to start using the
> Simon> tool, even if the output is not ideal, and then if there's something
> Simon> really annoying, one of us *might* have the motivation to go improve the
> Simon> tool.
> 
> I'm in favor of using a tool but my view is that it has to meet some
> minimal standard of usefulness.  I just think clang-format does not do
> this.

 We have a coding style tool onboard our GNU Project already, it's called 
GNU indent and I think it would be consistent with our project to improve 
the tool we already have rather than seeking alternatives outside.

 FWIW,

  Maciej


More information about the Gdb mailing list