~/talk

Better Tools in Your Clang Toolbox

Talkat CppCon 2018 · 2018-09-23..09-28· [developer-experience]
slides:none on file

An open‑source Visual Studio extension Clang Power Tools brings clang‑tidy, clang‑format and LLVM compilation into MSVC workflows and a PowerShell CI script runs compilation and tidy in parallel with PCH support, extracting MSBuild settings automatically. Teams run selective modernization passes (range‑for, override, make_unique, use_auto) and write custom clang‑tidy checks using AST matchers and clang‑query. Adoption finds real bugs — missing virtual destructors, wrong enums, init order and dangling string_view — and exposes a buggy check (use‑using), but overall the tools scale and measurably modernize large codebases.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:18Clang Power Tools overview
  3. 19:01Modernizing legacy codebases
  4. 23:19Massaging code for conformance
  5. 33:53Static analysis with clang-tidy
  6. 44:21Writing custom clang-tidy checks
  7. 50:17String handling and COM interop
  8. 54:43Closing remarks and Q&A
~/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.