clang-format
Install command:
brew install clang-formatAlso known as: clang-format@23
Formatting tools for C, C++, Obj-C, Java, JavaScript, TypeScript
https://clang.llvm.org/docs/ClangFormat.html
License: Apache-2.0 WITH LLVM-exception
Development: Pull requests
Formula JSON API: /api/formula/clang-format.json
Formula code: clang-format.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| sonoma | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 23.1.1 |
| head | ⚡️ | HEAD |
Other versions:
| clang-format@11 | 11.1.0 | Formatting tools for C, C++, Obj-C, Java, JavaScript, TypeScript |
Depends on when building from source:
| cmake | 4.4.3 | Cross-platform make |
Uses from macOS: python
Binaries:
clang-format,
git-clang-format
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 3,773 | 11,949 | 89,827 |
Installs (--HEAD) | 8 | 18 | 136 |
| Installs on Request | 3,656 | 11,447 | 82,094 |
Installs on Request (--HEAD) | 8 | 18 | 135 |
| Build Errors | 1 |