mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-25 06:30:09 +01:00
Where there was an object initialization immediately followed by assignment I condensed it to one line, which seems to be the convention looking at other files. I also deleted the repetition of 'of' in some c++ comments because it was grammatically incorrect. --------- Co-authored-by: Clayton Gearhart <claytongearhart240@gmail.com>
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.