~/talk

Behind the scenes of upgrading a static analyzer to C++20

links:none on file
slides:none on file

SonarSource upgrades its C++ analyzer to C++20 by relying on clang and updates SonarLint/SonarQube/SonarCloud across 27 languages and three products; work touches ~500 existing C++ rules and adds checks for std::contains, mathematical constants, std::jthread vs std::thread recommendations, and consteval misuse that makes if constexpr always take the wrong branch. Tooling uses clang-query and Godbolt to debug AST rewrites (spaceship operator changes) and whitelist new ranges algorithms; namespace collapse and bind_front required rule rewrites and validation.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:11Benefiting from new features
  3. 7:45Handling tricky new features
  4. 14:17Adapting existing rules
  5. 24:12Q&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.