GNU style checker for GDB
Metzger, Markus T
markus.t.metzger@intel.com
Tue Mar 9 06:08:28 GMT 2021
There's gcc.git/contrib/check_GNU_style.sh.
Regards,
Markus.
> -----Original Message-----
> From: Gdb <gdb-bounces@sourceware.org> On Behalf Of Dave Marples
> Sent: Dienstag, 9. März 2021 00:22
> To: gdb@sourceware.org
> Subject: Re: GNU style checker for GDB
>
>
> On 08/03/2021 22:39, David Blaikie via Gdb wrote:
> >
> > I think if you can point to a widely used style (the gdb (& binutils more
> > generally?) codebase) there's probably going to be a fair bit of
> > sympathy/understanding there.
>
> It seems to me that this is a problem screaming out for Machine
> Learning. I see so many projects that don't have a formal style guide
> but have a "please format your code like the rest of the code is already
> formatted 'cos we like that" policy. Nothing wrong with that policy at
> all, except that it's obviously incredibly difficult to automate.
>
> It would make a really nice final year undergrad project for someone to
> train up an AI on the style of an existing codebase, then use the
> developed knowledge to edit new code into that same format.
>
> ...anyone got any suitably smart final year students that would bite on
> a project like that? I can think of plenty of projects that could make
> use of it!
>
> DAVE
Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
More information about the Gdb
mailing list