~/talk

Tailored static tooling using Clang: Clazy

Talkat ACCU 2019 · 2019-04-10..04-13· [compilers-and-language-design, c-and-cpp]
slides:none on file

A Clang plugin that adds Qt-specific static checks and auto-fix "fixit" patches to catch real misuses (unsafe childEvent casts, unnecessary QString UTF-8→UTF-16 allocations, bad pass-by-value vs const-ref) and integrate into CI. It uses the LLVM/Clang APIs, reads compile_commands.json, runs per-project or inside Qt Creator and KDevelop, groups checks by false-positive risk (levels 0–3), is ~22,000 lines on GitHub and actively applies fixes that work on real code.

AI-written summary · about

  1. 0:00Start
  2. 1:55Checking a project
  3. 3:25Fixing a project
  4. 10:02Getting help on checks
  5. 10:56Configuration file
  6. 11:44Code example
  7. 14:04Part of KDAB-supported tool suite
~/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.