Keep your code sane with clang-tidy
summary
Shows that clang-tidy is a clang-based lint framework that runs checks and often applies fixes automatically, e.g. adding override, converting loops to range-for and replacing long iterator types with auto. Demonstrates clang-format sorting includes and reformatting, and YouCompleteMe providing accurate completions even inside macros. Claims about scale: about half of Google’s codebase is converted to use override. Notes that fixes handle the 90–99% cases but need code review for tricky side effects, shadowing, or platform-specific iterator patterns.
AI-written summary · about
chapters (4)
related talks
54mClang Static Analysis
01h 02mBringing clang-tidy magic to Visual Studio C++ Developers
01h 00mThe Philosophy of Google's C++ Code
57mLLVM Optimization Remarks
01h 00mTeaching old compilers new tricks
01h 03mUnlocking the value of C++20
06mLightning Talk: Whitespace: A Humorous Short Talk
08mOn "simple" Optimizations
