Lightning Talk: Coccinelle for C++
summary
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
related talks
21mCoccinelle: Program transformation in the real world
28mCoccinelle: Finding bugs in the Linux Kernel
01h 03mElevate Your Code to Modern C++11 with Automated Tooling
04mLightning Talk: A Journey Back In Time - C++ Evolution
55mStandard C++ Toolset
05mLightning Talk: find-move-candidates in Cpp
05mLightning Talk: C++ Is Like JavaScript
32mTeaching Old Compilers New Tricks: Transpiling C++17 to C++11
