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

Gedare Bloom (@gedare) gitlab at rtems.org
Sat Feb 21 20:54:23 UTC 2026



Merge request https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/203 was reviewed by Gedare Bloom

--
  
Gedare Bloom started a new discussion on eng/coding-conventions.md: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/203#note_143159

 >  
 > -- `clang-format` -- TODO.
 > +### ClangFormat

```suggestion:-0+0
### ClangFormat (`clang-format`)
```

--
  
Gedare Bloom started a new discussion on eng/coding-conventions.md: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/203#note_143160

 > +[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).

```suggestion:-0+0
ClangFormat, it is present inside rtems.git as
[_clang-format](https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/_clang-format).
```

--
  
Gedare Bloom started a new discussion on eng/coding-conventions.md: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/203#note_143161

 > +#### Building and Installing
 > +
 > +RSB can be used to build ClangFormat from source.

You can add some of the notes from https://users.rtems.org/t/using-clang-format-on-rtems-git/454


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


More information about the bugs mailing list