~/talk

Bringing Clang-tidy Magic to Visual Studio C++ Developers

Talkat CppCon 2017 · 2017-09-24..09-29
slides:none on file

A 2.5 million‑line Windows C++ codebase across 134 Visual Studio projects compiles with Clang after a multi‑month effort that introduces a configurable PowerShell script for MSBuild extraction, parallel parse and clang-tidy runs, Jenkins CI jobs that block commits on Clang failures, and an open‑source Visual Studio extension Clang Power Tools. Large automated modernize and static‑analysis fixes (nullptr, range‑for, make_unique, cppcoreguidelines, reorder initializers) run at scale; the whole tree reaches Clang -Wall and most transforms succeed but require manual review and test coverage.

AI-written summary · about

  1. 0:00Introduction to Clang-tidy
  2. 2:58Why adopt Clang tools
  3. 7:06Automation with PowerShell
  4. 12:22Team effort and tools
  5. 18:50Developer workflow in VS
  6. 23:49Getting the extension
  7. 27:57Future plans and roadmap
  8. 30:21Q&A: Third-party headers
  9. 33:14Q&A: Extension feedback
  10. 36:09Q&A: Project file handling
  11. 38:43Q&A: Transformation safety
  12. 41:53Q&A: Validation of changes
  13. 44:28Q&A: Making code Clang-compatible
  14. 46:58Q&A: Clang-format integration
  15. 48:48Q&A: Workload and effort
  16. 50:34Q&A: Metrics and results
  17. 51:41Q&A: Bug fixing vs modernization
  18. 53:04Q&A: Large codebase experience
  19. 53:45Q&A: Branch merging issues
  20. 55:07Q&A: Most surprising bug
  21. 56:36Q&A: Production compiler
  22. 58:01Q&A: Jenkins CI setup
  23. 59:46Q&A: Function replacement
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.