Lightning Talk: find-move-candidates in Cpp
summary
A clang-based tool built on clang meta tool and lib tooling scans a compilation database and flags or inserts std::move suggestions where the last use of a variable is a copy, reducing unnecessary copies. It applies fixes when it proves safety: last use dominates and the type is safe to move (trivially destructible or composed of safe containers/optionals), and it avoids risky types (e.g., moving a shared_ptr to a unique_lock that would release a mutex).
AI-written summary · about
chapters (3)
related talks
01h 07mMoved-from Objects in C++
01h 01mTools from the C++ Ecosystem to save a leg
52m“Tools from the C++ eco-system to save a leg”
24mRefactoring Legacy Codebases with LibTooling
01h 03mModern C++ Development: Limitations and Problems in std::function and Similar Constructs
08mLightning Talk: Coccinelle for C++
01h 03mHow to Build Your First C++ Automated Refactoring Tool
59mMechanical C++ Refactoring in the Present and in the Future
