YoVDO

Refactoring C++ with Clang

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 automated C++ refactoring using Clang in this 44-minute CppNow conference talk. Learn about the infrastructure built on top of Clang for recognizing and transforming specific C++ patterns. Discover the process of creating a source-to-source translation tool for updating from old APIs to new ones. Delve into topics such as refactoring goals, automation tools, cross-translation barriers, integration layers, and standalone tools. Gain insights into the framework's architecture, including predicate libraries, primitive matchers, and bound matchers. Watch a live demo of the refactoring tool in action and understand how to leverage open-source data tools for effective C++ code transformation.

Syllabus

Introduction
The goal of refactoring
Tools and automation
Crosstranslation barrier
Integration
Architecture
Libraries
Integration Layers
Questions
Standalone Tools
Stroman Interface
The Problem
The First Step
The Framework
Refactoring Tool
The Magic
The predicate library
Building a primitive matcher
Restricting the matcher
Adding a predicate
Adding a class
namespace matches
Combining predicates
Source code example
Match Finder
Renamer
Bound Matchers
Replace Object
Match Methods
Live Demo
RealMatcher
Open Source
Data Tool


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