Jon Ross-Perkins d51ca271af Refactory the IR/builder relationship (#2342) há 3 anos atrás
..
cpp_refactoring f6248a4b6f Manual clang-tidy fixes (#2319) há 3 anos atrás
BUILD d51ca271af Refactory the IR/builder relationship (#2342) há 3 anos atrás
README.md fd28f5f9a8 Add the beginnings of a RecursiveASTVisitor-based migration tool. (#2041) há 3 anos atrás
clang_tidy.yaml 88a9d244b7 Initial migration framework (#525) há 5 anos atrás
migrate_cpp.py 31df852738 Remove non-needed Python 2.x inherit from `object` (#1622) há 3 anos atrás
output_segment.h 4d522c8e90 Finish making clang-tidy (mostly) work (again) and run -fix (#2312) há 3 anos atrás
rewriter.cpp 4d522c8e90 Finish making clang-tidy (mostly) work (again) and run -fix (#2312) há 3 anos atrás
rewriter.h 4d522c8e90 Finish making clang-tidy (mostly) work (again) and run -fix (#2312) há 3 anos atrás
rewriter_test.cpp 4d522c8e90 Finish making clang-tidy (mostly) work (again) and run -fix (#2312) há 3 anos atrás

README.md

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.