YoVDO

Large Scale Automated Refactoring Across Translation Unit Boundaries in C++

Offered By: CppNow via YouTube

Tags

C++Now Courses C++ Courses Clang Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore an innovative approach to large-scale automated refactoring across translation unit boundaries in C++ in this conference talk from CppNow 2023. Delve into the challenges of refactoring thousands of structs across numerous files and learn how to propagate knowledge across translation units after edit generation. Follow the entire process from problem statement to the creation of AST-based code rewritings using Clang, simultaneous metadata generation, edit aggregation via Google Flume, analysis of proposed edits and metadata, and final patch generation. Gain insights into building a Clang refactoring tool and designing effective metadata for subsequent analysis. Discover practical lessons from applying this pipeline to real code, with a focus on converting an old macro library similar to BOOST_FUSION_DEFINE_STRUCT into a new mixin template library.

Syllabus

Large Scale Automated Refactoring Across Translation Unit Boundaries in C++ - Zie Weaver - CppNow 23


Taught by

CppNow

Related Courses

Control Flow Integrity in the Linux Kernel
Linux Foundation via YouTube
A Fresh Look at Toolchains and Crosscompilers in 2020
Linux Foundation via YouTube
A Few Effective GCC - Clang Optimizations for Embedded Systems
Linux Foundation via YouTube
Embedded Linux Size Reduction Techniques
Linux Foundation via YouTube
Using Clang for Fun and Profit - Examples from the Chromium Project
GOTO Conferences via YouTube