Re: GNU style checker for GDB

David Blaikie via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAENS6EtgXELj1D4+Toc973y7wb8URU7Bx2YtvyBi3or1r_mEhg@mail.gmail.com>
If anyone's interested in investing some time in it, I expect clang-format
would be open to bugs/patches to support whatever formatting idioms gdb
needs.

On Mon, Mar 8, 2021 at 10:26 AM Simon Marchi via Gdb <[email protected]>
wrote:

> On 2021-03-08 8:10 a.m., Zied Guermazi wrote:
> > hi,
> >
> > is there a style checker that I can use to detect styles issues before
> sending patches to [email protected]?
> >
> > I have the program indent installed on my machine. can it be used for
> this purpose? which options shall i use?
> >
> > Kind Regards
> >
> > Zied Guermazi
>
> People try now and then to configure tools to do this, but so
> unfortunately so far there is no tool/configuration that matches exactly
> the style we use.  If I remember correctly, indent does not know C++, so
> it's not useful here.  clang-format can get quite close, but not enough
> so that we can say "just run this and it will be fine".
>
> To be clear, I really wish there existed such a tool, it would simplify
> things a lot.
>
> Simon
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.