clang-format

Install command:
brew install clang-format

Also known as: clang-format@13

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)

/api/bottle/clang-format.json (Bottle JSON API)

Formula code on GitHub

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

Intel big sur
catalina
mojave
64-bit linux
Apple Silicon big sur

Current versions:

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

Analytics:

Installs (30 days)
clang-format 11,059
clang-format --HEAD 7
Installs on Request (30 days)
clang-format 8,745
clang-format --HEAD 7
Build Errors (30 days)
clang-format 4
Installs (90 days)
clang-format 26,958
clang-format --HEAD 20
Installs on Request (90 days)
clang-format 21,343
clang-format --HEAD 20
Installs (365 days)
clang-format 108,347
clang-format --HEAD 282
Installs on Request (365 days)
clang-format 88,002
clang-format --HEAD 279
Fork me on GitHub