Skip to content

Commit

Permalink
[doc] update docs on clang-format version
Browse files Browse the repository at this point in the history
  • Loading branch information
philipportner committed Oct 1, 2024
1 parent 9a01070 commit 39e98e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ At the same time, this freedom comes with certain responsibilities, which are ro

Before contributing, please make sure to run `clang-format` on your C++ (.h and
.cpp) files. The codebase is currently formatted with `clang-format` version
`18.1.8`.
`18.1.3`. This is the default `clang-format` version when installing via `apt`
on Ubuntu 24.04, and can easily be installed via `python -mpip install clang-format==18.1.3`
on other systems.
We provide a `.clang-format` file at the root of the repository. Most text
editors and IDEs will have some kind of integration for detecting that file
and automatically applying `clang-format`. `git-clang-format` can be used to
Expand Down

0 comments on commit 39e98e5

Please sign in to comment.