We use this script to install a consistent version of clang-format
to format the code base. The format is automatically checked via a Travis CI build as well. Run the following script locally to ensure formatting is ready to merge:
make format
We also use clang-tidy
as a C++ linter. Run the following command to lint and ensure your code is ready to merge:
make tidy