Add clang-tidy analysis
First try by adding --cmake_args="-G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
in the initialization script and then running python ./run-clang-tidy.py
.
There is an issue with Mpi includes not found; clumsily solved by running python ./run-clang-tidy.py -extra-arg="-I/Users/sgilles/opt/clang_debug/Openmpi/include/"
.
Tests should be ignored as well in the command used.