RTEMS | Reformat cpukit rtems src (!237)

Sebastian Huber (@sebhub) gitlab at rtems.org
Tue Sep 24 00:13:58 UTC 2024




Sebastian Huber commented on a discussion on cpukit/rtems/src/taskconstruct.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112469

 >  static User_extensions_Control _RTEMS_tasks_User_extensions = {
 >    .Callouts = {
 >  #if defined( RTEMS_MULTIPROCESSING )
 > -    .thread_terminate = _RTEMS_tasks_Terminate_extension,
 > +               .thread_terminate = _RTEMS_tasks_Terminate_extension,
 >  #endif
 > -    .thread_start   = _RTEMS_tasks_Start_extension,
 > -    .thread_restart = _RTEMS_tasks_Start_extension
 > +               .thread_start   = _RTEMS_tasks_Start_extension,
 > +               .thread_restart = _RTEMS_tasks_Start_extension

I am not talking about using this improved clang-format tool in general. Overall, the results in this MR are great. I said: `Given the changes in this commit, I would not use this option.`. The commit is `clant-format: Add and use AlignArrayOfStructures Left` and the options is `AlignArrayOfStructures: Left`.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112469
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240924/900fc83c/attachment-0001.htm>


More information about the bugs mailing list