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.
Thanks Vaibhav Gupta > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel