style patches - discuss

Gedare Bloom gedare at rtems.org
Tue Dec 19 20:51:56 UTC 2023


On Thu, Dec 7, 2023 at 12:19 AM Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> Hello,
>
> it seems we still have no tool and configuration to get satisfying
> results when applied to existing RTEMS source files. May I suggest a
> more pragmatic approach which focuses on new files. Would it be an
> option to simply use automatic formatting for all new files specifically
> written for RTEMS? For them we could just pick up a standard
> clang-format style:
>
> https://clang.llvm.org/docs/ClangFormatStyleOptions.html#basedonstyle
>
> I would pick up the Chromium style.
>
I think this will cause a lot of changes to review, and requires some
consensus to agree yet.

I continue to chip away at clang-format. It is getting close. I would
prefer to see if this can get done, perhaps early during rtems7,
rather than hold up releasing 6.

> --
> embedded brains GmbH & Co. KG
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax:   +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list