Files
carbon-lang/migrate_cpp
Chandler Carruth 01e12111a8 Auto-update pre-commit repositories and fix. (#3427)
The version of `flake8` was too old to support with Python 3.12 -- there
is new F-string support that caused false positives sadly. The updated
version has fixes for all of these.

This in turn updates codespell which has picked up several new fixes
that actually fire in our code, so also fix everything. While we don't
do more in-depth updates to old proposals, similar to simply fixing
broken links, fixing automatically detected typos seems scalable and
fine.

All edits were automatically generated here.
2023-11-28 17:17:28 +00:00
..

C++ migration tooling

Table of contents

Overview

migrate_cpp assists in migration of C++ code to Carbon. It's currently being assembled; more documentation will be added later.

Structure

The migrate_cpp tool uses a clang::RecursiveASTVisitor to traverse Clang's AST and, to each node, associate replacements. Each node's replacement is a sequence of text, or a reference to some other node that should be used to replace it.