clang-tidy

clang-tidy is a static code analysis tool for C/C++ which is supported by Code Review Assistant out of the box.

Shell command

#!/bin/bash for file in $(find . -name "*.cpp" -type f); do clang-tidy $file; done;

Example for Bamboo