clang-format Style for RTEMS

Sebastian Huber sebastian.huber at
Mon Dec 17 12:44:12 UTC 2018

Hello Mikail,

thanks for your summary. I tried a couple for C code formatters for 
RTEMS in the last couple of years and none delivered sufficiently good 
results. My hope was that we could use clang-format with some additions 
for RTEMS. However, it seems the hurdle to add new style options to 
clang-format is quite high:

"The goal of the clang-format project is more on the side of supporting 
a limited set of styles really well as opposed to supporting every 
single style used by a codebase somewhere in the wild. Of course, we do 
want to support all major projects and thus have established the 
following bar for adding style options. Each new style option must ..

      * be used in a project of significant size (have dozens of
      * have a publicly accessible style guide
      * have a person willing to contribute and maintain patches"

I am not sure if RTEMS would count as a project of "significant size".

See also:

Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

More information about the devel mailing list