clang-format

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

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

Current versions:

stable 2018-04-24
head ⚡️ HEAD
bottle 🍾 high_sierra, sierra, el_capitan

Depends on when building from source:

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

JSON API for clang-format

Formula code on GitHub

Fork me on GitHub