clang-format
Install command:
brew install clang-formatAlso known as: clang-format@22
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 |
tahoe | ✅ |
|---|---|---|
| sequoia | ✅ | |
| sonoma | ✅ | |
| macOS on Intel |
sonoma | ✅ |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ | |
Current versions:
| stable | ✅ | 22.1.8 |
| 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.2 | Cross-platform make |
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 2,792 | 19,417 | 94,594 |
| Installs on Request | 2,688 | 18,068 | 86,047 |
| Build Errors | 0 |