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

Current versions

clang-format requires the following formulae to be installed:
subversion 1.9.7_3 Version control system designed to be a better CVS
cmake 3.10.3 Cross-platform make
ninja 1.8.2 Small build system for use with gyp or CMake
xz 5.2.3 General-purpose data compression with high compression ratio

Recent formula history

Katherine Walker clang-format 2018-01-11
ilovezfs clang-format: use “squiggly” heredocs.
Frantisek Boranek clang-format 2017-11-14
Viktor Szakats clang-format: secure url(s)
ilovezfs clang-format 2017-06-22

Formula code at GitHub