Changes
Page history
Bump to clang-format 19
authored
Dec 27, 2024
by
Sébastien Villemot
Hide whitespace changes
Inline
Side-by-side
CodingGuidelines.md
View page @
f8e5f2ca
...
@@ -154,16 +154,16 @@ correct, and will fail otherwise. This means that you should run `clang-format`
...
@@ -154,16 +154,16 @@ correct, and will fail otherwise. This means that you should run `clang-format`
locally before pushing any change to the C++ codebase.
locally before pushing any change to the C++ codebase.
Since the behaviour of
`clang-format`
varies slightly across versions, it is
Since the behaviour of
`clang-format`
varies slightly across versions, it is
necessary to stick to a specific version. We currently use version 1
6
of
necessary to stick to a specific version. We currently use version 1
9
of
`clang-format`
.
`clang-format`
.
### Installing clang-format locally
### Installing clang-format locally
Under Debian, use the
`clang-format-1
6
`
package. Make sure that the generic
Under Debian, use the
`clang-format-1
9
`
package. Make sure that the generic
`clang-format`
package is not installed, nor any more recent version of
`clang-format`
package is not installed, nor any more recent version of
`clang-format`
, otherwise selection of the correct binary may fail (see below).
`clang-format`
, otherwise selection of the correct binary may fail (see below).
MSYS2 and Homebrew
currently do not provide
version
16
of
`clang-format`
.
MSYS2 and Homebrew
may provide the right
version of
`clang-format`
, depending on their release schedule
.
### Applying the style with Meson
### Applying the style with Meson
...
...
...
...