Documentation | feat: add clang-format docs and configurations (!203)
Prashant Rahul (@prashantrahul141)
gitlab at rtems.org
Sat Feb 21 22:48:56 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_143227
> 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.
Also, I have added the `clang-format-ignore.txt` file from the post in the same directory, should it be removed or maybe placed somewhere else?
--
View it on GitLab: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/203#note_143227
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/adb22f2b/attachment-0001.htm>
More information about the bugs
mailing list