automated coding style tool (was: RE: DCO: Was: Re: Contributing to gdb)

"Aktemur, Tankut Baris via Gdb" <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <DM4PR11MB73031D013B64C61897BD34F2C4182@DM4PR11MB7303.namprd11.prod.outlook.com>
(forking off the DCO topic)

On Monday, January 13, 2025 6:42 PM Simon Marchi wrote:
> I would be happy if we accepted DCO contributions.  Having to go through
> some copyright assignment paperwork is not the end of the world, but it
> is one of many annoyances that add friction for new contributors (others
> I think of right now are the use of mailing lists for reviews and our
> specific coding style that we are unable to enforce with an automated
> tool).

Regarding the automated coding style tool: is there any active attempt
to pursue this goal?  The latest discussion I know of is this:

  https://inbox.sourceware.org/gdb-patches/[email protected]/

Tom mentioned his t/clang-format branch in that email thread.  I checked
the branch.  The clang-format config file has

  # BasedOnStyle:  GNU

Is the GDB coding style so off from the built-in GNU style
that it cannot be reused?

-Baris


Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Sean Fennelly, Jeffrey Schneiderman, Tiffany Doon Silva
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
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.