~/lightning

Lightning Talk: Coccinelle for C++

Lightningat C++Online 2024 · 2024-02-28..03-02· [c-and-cpp, developer-experience]
links:none on file
slides:none on file

Coccinelle for C++ extends the 15‑year‑old C tool to match and rewrite C++ source across a codebase, targeting modernization of HPC code and library migration. It uses semantic patches—git‑diff style minus/plus patterns with metavariables—to rewrite every matching occurrence, including a C++23 multi‑index/array‑reference example. It supports control‑flow‑aware "..." patterns, macro‑aware matching, Python integration, and produces human‑readable, debuggable transformations that run across projects.

AI-written summary · about

~/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.