Re: clang-format Style for RTEMS

2019-01-13 Thread Mikail Yayla
Hello, to evaluate the effort needed to adapt clang-format for RTEMS, we are currently trying to implement the option to put the ")" at the end of a function declaration in a separate line, e.g.: bool _Thread_Initialize( Thread_Information *information, [...] Objects_Name

Re: clang-format Style for RTEMS

2018-12-17 Thread Sebastian Huber
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

Re: clang-format Style for RTEMS

2018-12-14 Thread Joel Sherrill
On Fri, Dec 14, 2018, 7:08 AM Mikail Yayla Hello, > > we are trying to describe the rtems formatting style using clang-format ( > http://clang.llvm.org/docs/ClangFormatStyleOptions.html). > To see whether it can be done, we used ratemonperiod.c as an example and > tried to set up a .clang-format f