Also known as: clang-format@19
Formatting tools for C, C++, Obj-C, Java, JavaScript, TypeScript
https://clang.llvm.org/docs/ClangFormat.html
License: Apache-2.0 WITH LLVM-exception
Formula JSON API: /api/formula/clang-format.json
Formula code: clang-format.rb
on GitHub
Bottle (binary package) installation support provided for:
Apple Silicon | sequoia | ✅ |
---|---|---|
sonoma | ✅ | |
ventura | ✅ | |
Intel | sonoma | ✅ |
ventura | ✅ | |
64-bit linux | ✅ |
Current versions:
stable | ✅ | 19.1.7 |
head | ⚡️ | HEAD |
Other versions:
clang-format@11 | 11.1.0 | Formatting tools for C, C++, Obj-C, Java, JavaScript, TypeScript |
clang-format@8 | 8.0.1 | Formatting tools for C, C++, Obj-C, Java, JavaScript, TypeScript |
Depends on when building from source:
cmake | 3.31.4 | Cross-platform make |
Analytics:
Installs (30 days) | |
---|---|
clang-format |
7,305 |
clang-format --HEAD |
21 |
Installs on Request (30 days) | |
clang-format |
6,355 |
clang-format --HEAD |
21 |
Build Errors (30 days) | |
clang-format |
1 |
Installs (90 days) | |
clang-format |
26,903 |
clang-format --HEAD |
60 |
Installs on Request (90 days) | |
clang-format |
23,560 |
clang-format --HEAD |
60 |
Installs (365 days) | |
clang-format |
105,808 |
clang-format --HEAD |
209 |
Installs on Request (365 days) | |
clang-format |
93,445 |
clang-format --HEAD |
209 |