Skip to content

Commit bfca50d

Browse files
authored
updating documentation to specify clang-format-15 (#682)
1 parent 006c212 commit bfca50d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additio
1818

1919
## Style
2020

21-
We use `clang-format-9` on our CI bots, which will fail the pull request if the code is not formatted as expected.
21+
We use `clang-format-15` on our CI bots, which will fail the pull request if the code is not formatted as expected.
2222

2323
The `clang-format` tool doesn't guarantee backward or forward compatibility, so we have to fix a version for our CI and local development.
2424

2525
Both versions 8 and 10 (and therefore any other version) is incompatible with version 9 and *will* break the build, so you must download and use version 9.
2626

27-
To do so, you can choose a number of ways to download it (ex. [npm](https://www.npmjs.com/package/clang-format), [releases](https://releases.llvm.org/), [apt](https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=clang-format-9&searchon=names), [Arch AUR](https://aur.archlinux.org/packages/clang-format-static-bin/), etc), then put on your PATH *before* you run CMake.
27+
To do so, you can choose a number of ways to download it (ex. [npm](https://www.npmjs.com/package/clang-format), [releases](https://releases.llvm.org/), [apt](https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=clang-format-15&searchon=names), [Arch AUR](https://aur.archlinux.org/packages/clang-format-static-bin/), etc), then put on your PATH *before* you run CMake.
2828

2929
A `clangformat` target will be created and you can make sure you won't break the build by running that target.
3030

0 commit comments

Comments
 (0)