clang-format

Install command:
brew install clang-format

Also known as: clang-format@12

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

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
catalina
mojave
Apple Silicon big sur

Current versions:

stable 12.0.0
head ⚡️ HEAD

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.20.1 Cross-platform make
ninja 1.10.2 Small build system for use with gyp or CMake

Analytics:

Installs (30 days)
clang-format 8,514
clang-format --HEAD 39
Installs on Request (30 days)
clang-format 6,918
clang-format --HEAD 39
Build Errors (30 days)
clang-format 17
Installs (90 days)
clang-format 28,201
clang-format --HEAD 175
Installs on Request (90 days)
clang-format 23,073
clang-format --HEAD 174
Installs (365 days)
clang-format 94,506
clang-format --HEAD 386
Installs on Request (365 days)
clang-format 78,713
clang-format --HEAD 365
Fork me on GitHub