|
|
1 tahun lalu | |
|---|---|---|
| .. | ||
| cpp_refactoring | a17480133f Remove excess use of auto on initializers (auto x = Y(z) -> Y x(z)) (#4239) | 1 tahun lalu |
| BUILD | a3b1c433be Remove legacy repo_name settings (#3772) | 2 tahun lalu |
| README.md | fd28f5f9a8 Add the beginnings of a RecursiveASTVisitor-based migration tool. (#2041) | 3 tahun lalu |
| clang_tidy.yaml | 88a9d244b7 Initial migration framework (#525) | 5 tahun lalu |
| migrate_cpp.py | 319c3caf99 Convert Python type hinting to be PEP-585 Compliant (#4083) | 1 tahun lalu |
| output_segment.h | 79ac4c953a Switch `migrate_cpp` to use concepts. (#3667) | 2 tahun lalu |
| rewriter.cpp | d72b4e4151 Remove supurfluous/confusing {} around a temporary (#4183) | 1 tahun lalu |
| rewriter.h | 3628e22ca2 Put python object definition and assignment on same line (#3057) | 2 tahun lalu |
| rewriter_test.cpp | cae63a2b5b chore: remove repetitive words in comments (#3813) | 2 tahun lalu |
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.