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-linux/clang-format.json (JSON API)

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

Linux formula code on GitHub

Bottle (binary package) installation support provided for Linux platforms:

Intel big sur
catalina
mojave
64-bit linux
ARM64 big sur

Current versions:

stable 12.0.1
head ⚡️ HEAD

Other versions:

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

Keg-only

Depends on:

libxml2 2.9.12 GNOME XML library
ncurses 6.2 Text-based UI library
zlib 1.2.11 General-purpose lossless data-compression library

Depends on when building from source:

cmake 3.21.0 Cross-platform make
ninja 1.10.2 Small build system for use with gyp or CMake
subversion 1.14.1 Version control system designed to be a better CVS

Analytics:

Installs (30 days)
clang-format 37
clang-format --HEAD 1
Installs on Request (30 days)
clang-format 29
clang-format --HEAD 1
Build Errors (30 days)
clang-format 1
Installs (90 days)
clang-format 109
clang-format --HEAD 1
Installs on Request (90 days)
clang-format 91
clang-format --HEAD 1
Installs (365 days)
clang-format 1,237
clang-format --HEAD 1
Installs on Request (365 days)
clang-format 1,117
clang-format --HEAD 1
Fork me on GitHub