jipe-evolve plugin to guess clang-format options for a file
apt install libclang-dev
apt install libgit2-dev
https://github.com/nlohmann/json (included in ext/
)
Something like this should work after installing dependencies.
git clone ...
take jipe-evolve-clang-format/build
CC=/usr/bin/clang-7 CXX=/usr/bin/clang++-7 cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_EXPORT_COMPILE_COMMANDS=1 ..
MIT.