RTEMS | cpukit/rtems: reformat with clang-format (!746)

Amar Takhar (@amar) gitlab at rtems.org
Thu Sep 25 04:19:36 UTC 2025




Amar Takhar commented on a discussion on cpukit/include/rtems/rtems/barrier.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/746#note_133225

 >  #ifndef _RTEMS_RTEMS_BARRIER_H
 >  #define _RTEMS_RTEMS_BARRIER_H
 >  
 > -#include <stdint.h>
 >  #include <rtems/rtems/attr.h>
 >  #include <rtems/rtems/status.h>
 >  #include <rtems/rtems/types.h>
 > +#include <stdint.h>

I can dynamically create the config I've almost settled on a format for .gitlab/format.toml that we can put in every repo.  `rtems-format` will generate the config and run `clang-format` accordingly based on the arguments which will be a list of files changed in the MR.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/746#note_133225
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/20250925/836f3643/attachment-0001.htm>


More information about the bugs mailing list