New coding style for new files?

Vaibhav Gupta vaibhavgupta40 at
Mon Sep 7 09:31:53 UTC 2020

On Mon, Sep 07, 2020 at 08:06:41AM +0200, Sebastian Huber wrote:
> Hello,
> I think we waste too much time to address coding style issues on newly
> contributed code, for example GSoC. I don't know a source code formatting
> tool which supports the RTEMS coding style and I think it is not worth the
> time to write and maintain such a tool specifically for RTEMS. Why don't we
> simply allow an alternative coding style which has a good code formatter for
> new source files? I don't propose to reformat the existing files.
> I would simply pick up one of the standard styles supported by clang-format
> and declare it as an acceptable coding style for RTEMS. Then students can
> pipe their code through it before they send it for review. This helps to
> concentrate on the important things to review and not the white space.
Hello Sebastian,
I agree with your point. A few months back, I posted an issue regarding
formatting style for nested conditional directives. And I guess the existing
standard solve it too.

Vaibhav Gupta
> _______________________________________________
> devel mailing list
> devel at

More information about the devel mailing list