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.5 |
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.1 | Cross-platform make |
Analytics:
Installs (30 days) | |
---|---|
clang-format |
9,190 |
clang-format --HEAD |
13 |
Installs on Request (30 days) | |
clang-format |
8,086 |
clang-format --HEAD |
13 |
Build Errors (30 days) | |
clang-format |
4 |
Installs (90 days) | |
clang-format |
29,638 |
clang-format --HEAD |
53 |
Installs on Request (90 days) | |
clang-format |
26,238 |
clang-format --HEAD |
53 |
Installs (365 days) | |
clang-format |
100,571 |
clang-format --HEAD |
182 |
Installs on Request (365 days) | |
clang-format |
88,958 |
clang-format --HEAD |
182 |