Главная
Study mode:
on
1
Introduction
2
The goal of refactoring
3
Tools and automation
4
Crosstranslation barrier
5
Integration
6
Architecture
7
Libraries
8
Integration Layers
9
Questions
10
Standalone Tools
11
Stroman Interface
12
The Problem
13
The First Step
14
The Framework
15
Refactoring Tool
16
The Magic
17
The predicate library
18
Building a primitive matcher
19
Restricting the matcher
20
Adding a predicate
21
Adding a class
22
namespace matches
23
Combining predicates
24
Source code example
25
Match Finder
26
Renamer
27
Bound Matchers
28
Replace Object
29
Match Methods
30
Live Demo
31
RealMatcher
32
Open Source
33
Data Tool
Description:
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.

Refactoring C++ with Clang

CppNow
Add to list