clang-format

Install command:
brew install clang-format

Also known as: clang-format@11

Formatting tools for C, C++, Obj-C, Java, JavaScript, TypeScript

https://clang.llvm.org/docs/ClangFormat.html

License: Apache-2.0

/api/formula/clang-format.json (JSON API)

Formula code on GitHub

Current versions:

stable 11.0.1
head ⚡️ HEAD
bottle 🍾 big_sur, arm64_big_sur, catalina, mojave

Other versions:

clang-format@8 8.0.1 Formatting tools for C, C++, Obj-C, Java, JavaScript, TypeScript

Depends on when building from source:

cmake 3.19.3 Cross-platform make
ninja 1.10.2 Small build system for use with gyp or CMake

Analytics:

Installs (30 days)
clang-format 9,126
clang-format --HEAD 17
Installs on Request (30 days)
clang-format 7,501
clang-format --HEAD 16
Build Errors (30 days)
clang-format 7
Installs (90 days)
clang-format 25,344
clang-format --HEAD 59
Installs on Request (90 days)
clang-format 20,773
clang-format --HEAD 57
Installs (365 days)
clang-format 79,834
clang-format --HEAD 283
Installs on Request (365 days)
clang-format 68,831
clang-format --HEAD 263
Fork me on GitHub