Bringing clang-tidy magic to Visual Studio C++ Developers
summary
A Windows‑only C++ product of 2.5 million lines compiles under Visual Studio while also being run through clang‑tidy by extracting project settings, running clang‑tidy/clang‑format, and applying modernize and static‑analysis fixes that catch real bugs. The team builds a free Clang Power Tools Visual Studio extension, PowerShell automation and Jenkins jobs, reports large mechanical refactorings (range‑for, make_unique, remove redundant inits) and claims live CI, gradual warning enablement and 5,000+ installs.
AI-written summary · about
chapters (52)
- 0:00Introduction
- 0:32Why am I here
- 1:03About Stoller
- 2:04Disclaimer
- 5:35Examples of fixes
- 6:48The time line
- 9:42Crankbased refactoring tool
- 11:08Future plans
- 12:01Large scale refactoring
- 13:02Initializers
- 14:18Make Unique
- 14:47Use Auto
- 15:04Iterator Ranges
- 15:27UseUsing
- 16:04Type Deaths
- 16:51Tools
- 17:09Shoutouts
- 17:44Batch vs tidy
- 18:26Partial script
- 19:24Some switches
- 19:43Bootper script
- 20:51Bootstrap example
- 21:05Jenkins example
- 21:25Jenkins PowerShell plugin
- 21:38Continuous integration
- 22:26Partial step
- 22:48Jenkins
- 23:15Slack
- 23:53Developer workflow
- 24:17Requirements
- 24:50Configuration
- 25:11Defaults
- 25:34Checks
- 25:58Inline documentation
- 26:13Running it
- 26:37Solution Explorer
- 27:44Visual Studio Extension
- 28:07Feedback
- 30:19Issues
- 30:41Custom tools
- 33:16Roadmap
- 33:53Success
- 34:14Adoption
- 37:18Thank you
- 37:30Inspiration
- 37:59How it started
- 40:34Questions
- 46:07Party headers
- 49:05Syntax checker
- 51:16Delay template pausing
- 55:14Header filters
- 57:54Preventing new warnings
related talks
13mKeep your code sane with clang-tidy
54mClang Static Analysis
52mCross plattform C++ development is challenging
01h 00mTeaching old compilers new tricks
09mC++ Package Manager
01h 01mBringing CLANG/LLVM To Windows
28mC2Rust: Migrating Legacy Code to Rust
05mC++ Modules and Packages: Making Dreams Come True
