Summary
This episode provides an introduction to clang-tidy, a powerful static analysis tool for C++ that consolidates functionality from other Clang tools like clang-modernize and clang-check. Jason demonstrates how to install clang-tidy 3.8 on Ubuntu, set up a compile commands database using CMake, and run various static analyses on the ChaiScript project. He shows how to enable different checks, interpret the warnings generated, and apply automatic fixes. The episode also highlights important limitations and potential pitfalls, such as the issues that can arise when automatically applying fixes to multiple files simultaneously.