Extending clang-tidy in the Present and in the Future
summary
Clang-tidy already ships 240+ clang-tidy checks and supports semantic rewrites; workflow uses clang-query interactive matcher discovery, a compile_commands JSON, and clang-apply-replacements to run checks across a repo. Demonstrations show add-new-check scaffolding, a debug/profile extension for matcher development, a JSON AST dumper and a Qt-based UI that runs JavaScript fix-its live, and a working icecream trick to distribute refactoring; macros and template/reference-coupling remain the main practical traps.
AI-written summary · about
chapters (9)
- 0:00Introduction to clang-tidy
- 2:10What clang-tidy can do
- 9:09Refactoring with clang tooling
- 15:47Writing custom clang-tidy checks
- 23:20Debugging and profiling checks
- 34:15Running checks at scale
- 37:05Integrating with build systems
- 41:14Future of clang-tidy tooling
- 58:27Q&A and closing remarks
related talks
01h 05mImprove your code with Clang Tooling
56mHow to Refactor Millions of Line of Code Without Alienating Colleagues
01h 01mCode Analysis++
01h 03mHow to Build Your First C++ Automated Refactoring Tool
01h 01mBetter Tools in Your Clang Toolbox
29mUsing the Clang developer tools
59mMechanical C++ Refactoring in the Present and in the Future
52m“Tools from the C++ eco-system to save a leg”
