Skip to content

Commit ab46a3b

Browse files
lowrphilberty
authored andcommitted
Bump clang-format version to use in CONTRIBUTING.md
Since f1982cc, we are using clang-format-16 instead of clang-format-10. This commit updates the clang-format version documented in CONTRIBUTING.md so that new contributors don't get tripped. ChangeLog: * CONTRIBUTING.md: Update clang-format version Signed-off-by: Ryo Yoshida <[email protected]>
1 parent 0d5ae00 commit ab46a3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ and the link to the GitHub PR sent to the submitter.
5959

6060
* on all files using python scripts
6161
... corresponding to what the _Clang Format Lint_ (`.github/workflows/clang-format.yml`)
62-
is doing, with `clang-format-10` being available locally, and avoiding the Docker overhead.
62+
is doing, with `clang-format-16` being available locally, and avoiding the Docker overhead.
6363

6464
```shell
6565
$ wget 'https://github.com/DoozyX/clang-format-lint-action/raw/v0.11/run-clang-format.py'
6666
$ cp contrib/clang-format .clang-format
67-
$ python3 run-clang-format.py --clang-format-executable clang-format-10 --recursive --extensions h,cc gcc/rust/
67+
$ python3 run-clang-format.py --clang-format-executable clang-format-16 --recursive --extensions h,cc gcc/rust/
6868
```
6969

7070
* on a given patch using python scripts
@@ -124,7 +124,7 @@ index 9559374ce60..bd3043295ce 100644
124124
};
125125
```
126126

127-
Also note that you can use a given version of `clang-format` by using `git clang-format-10` if you have
127+
Also note that you can use a given version of `clang-format` by using `git clang-format-16` if you have
128128
installed that particular version.
129129

130130
Thanks! :heart: :heart: :heart:

0 commit comments

Comments
 (0)