~/talk

Improve your code with Clang Tooling

TalkinGermanat Qt World Summit 2019 · 2019-11-04..11-06· [developer-experience, testing]
links:none on file
slides:none on file

Practical workflows for using Clang tooling to find and fix real C++ issues: run clang-tidy with -fix across a project via compile_commands.json to apply refactorings, run the Clang static analyzer for out-of-bounds and null-dereference bugs, and use Clang Sanitizers to detect leaks and data races at runtime. Also covers clang-format and Clazy for style and Qt-specific checks, how to generate a compilation database for non-CMake builds, shows live code fixes, and demonstrates these tools on Windows, Linux and macOS (with sanitizer limitations on Windows).

AI-written summary · about

  1. 0:00Introduction
  2. 2:08Clang Tooling basics
  3. 8:14Static analysis tools
  4. 16:21Compiler diagnostics
  5. 22:29Translation unit workflow
  6. 36:27Compilation database
  7. 43:52Command line options
  8. 51:54Runtime analyzers
  9. 1:00:07Q&A and summary
~/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.