Open-source C/C++ static analyzer and linter built on Clang's AST. Ships hundreds of checks across bugprone patterns, modernize-* refactors, performance issues, and coding-standard conformance (CERT-C, partial MISRA via plugins). Free, fast, and integrates cleanly into CMake, VS Code, and CI pipelines.
Enable on a curated check set in CI, gate on violation delta rather than zero, and grow the check list incrementally as the codebase tightens up. Pair with clang-format for style and with cppcheck for complementary bug detection.
Most teams run clang-tidy alongside cppcheck because the two catch different classes of issue. Pairs with #20 Automated Code Review and #4 DevSecOps.