You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[1]: llvm includes tools like `clang-format` and `clang-tidy`.
276
-
[2]: This will download a specific `<version>` of a clang-format binary, from `10.0.1` and up.
277
-
Check out the [clang-format-wheel repository](https://github.com/ssciwr/clang-format-wheel) for information on
278
-
how to download the clang-format binary as part of a CI pre-commit build.
279
276
280
-
While it's possible to use other package managers to install these utilities on Linux, I recommend
281
-
using brew to avoid dependency issues between llvm and linters that use it.
277
+
[2]: While it's possible to use other package managers to install these utilities on Linux, I recommend
278
+
using brew to avoid dependency issues between llvm and linters that use it, such as include-what-you-use.
282
279
283
-
#### Installing oclint
280
+
[3]: You can install on MacOS with `brew install oclint`. Oclint's github page also provides compiled
281
+
binary packages (and zip of source code to compile) for Macos/Linux:
282
+
[releases](https://github.com/oclint/oclint/releases). oclint is not available on windows.
284
283
285
-
You can install on MacOS with `brew install oclint`.
286
-
287
-
Oclint's github page also provides compiled binary packages (and zip of source code to compile) for Macos/Linux: [releases](https://github.com/oclint/oclint/releases).
288
-
289
-
oclint is not available on windows.
284
+
[4]: This will download the latest version. Versions from `10.0.1` and up are supported.
285
+
To pin to a specific version like `13.0.0`, use `pipx install clang-format==13.0.0`.
286
+
Check out the [clang-format-wheel repository](https://github.com/ssciwr/clang-format-wheel) for information on
287
+
how to download the clang-format binary as part of a CI pre-commit build.
0 commit comments