Recursively check a given directory, and don't print progress messages

cppcheck

  • A static analysis tool for C/C++ code.
    Instead of syntax errors, it focuses on the types of bugs that compilers normally do not detect.
    More information: <http://cppcheck.sourceforge.net>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

cppcheck --quiet {{path/to/directory}}

click the source code to copy install cppcheck on any operating system with command-not-found.com