Documentation | feat: add clang-format docs and configurations (!203)

Prashant Rahul (@prashantrahul141) gitlab at rtems.org
Sat Feb 21 22:47:23 UTC 2026




Prashant Rahul commented on a discussion on eng/coding-conventions.md: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/203#note_143225

 >  Some of the above can be assisted by tool support. Feel free to add
 >  more tools, configurations, etc here.
 >  
 > -- `clang-format` -- TODO.
 > +### ClangFormat
 > +
 > +[ClangFormat](https://clang.llvm.org/docs/ClangFormat.html) can be used to
 > +automatically format files. RTEMS comes with a style configuration file for
 > +ClangFormat, it is present inside rtems.git as [_clang-format](https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/_clang-format).
 > +
 > +#### Building and Installing
 > +
 > +RSB can be used to build ClangFormat from source.

I am unsure as to what to add and what to ignore. I have added some of things which seemed important and relevant here. Can you verify if I am missing something? or if there's something i should remove

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/203#note_143225
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/20260221/baad436a/attachment.htm>


More information about the bugs mailing list