|
|
%!s(int64=3) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| cpp_refactoring | 066b103881 Spelling (#1580) | %!s(int64=3) %!d(string=hai) anos |
| BUILD | fd28f5f9a8 Add the beginnings of a RecursiveASTVisitor-based migration tool. (#2041) | %!s(int64=3) %!d(string=hai) anos |
| README.md | fd28f5f9a8 Add the beginnings of a RecursiveASTVisitor-based migration tool. (#2041) | %!s(int64=3) %!d(string=hai) anos |
| clang_tidy.yaml | 88a9d244b7 Initial migration framework (#525) | %!s(int64=5) %!d(string=hai) anos |
| migrate_cpp.py | 31df852738 Remove non-needed Python 2.x inherit from `object` (#1622) | %!s(int64=3) %!d(string=hai) anos |
| output_segment.h | fd28f5f9a8 Add the beginnings of a RecursiveASTVisitor-based migration tool. (#2041) | %!s(int64=3) %!d(string=hai) anos |
| rewriter.cpp | 1b4544ffed Add support to rewriter for free-function declarations and definitions. (#2120) | %!s(int64=3) %!d(string=hai) anos |
| rewriter.h | 1b4544ffed Add support to rewriter for free-function declarations and definitions. (#2120) | %!s(int64=3) %!d(string=hai) anos |
| rewriter_test.cpp | 1b4544ffed Add support to rewriter for free-function declarations and definitions. (#2120) | %!s(int64=3) %!d(string=hai) anos |
migrate_cpp assists in migration of C++ code to Carbon. It's currently being
assembled; more documentation will be added later.
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.