|
|
3 years ago | |
|---|---|---|
| .. | ||
| cpp_refactoring | 4daaa4866f Rename `Type` -> `type`, per #2360. (#2507) | 3 years ago |
| BUILD | 814ae3d419 Fix some broken regexes for files in pre-commit configs. (#2438) | 3 years ago |
| README.md | fd28f5f9a8 Add the beginnings of a RecursiveASTVisitor-based migration tool. (#2041) | 3 years ago |
| clang_tidy.yaml | 88a9d244b7 Initial migration framework (#525) | 5 years ago |
| migrate_cpp.py | a0763413cb Update pre-commit config (#2498) | 3 years ago |
| output_segment.h | 4d522c8e90 Finish making clang-tidy (mostly) work (again) and run -fix (#2312) | 3 years ago |
| rewriter.cpp | 4d522c8e90 Finish making clang-tidy (mostly) work (again) and run -fix (#2312) | 3 years ago |
| rewriter.h | 4d522c8e90 Finish making clang-tidy (mostly) work (again) and run -fix (#2312) | 3 years ago |
| rewriter_test.cpp | 4d522c8e90 Finish making clang-tidy (mostly) work (again) and run -fix (#2312) | 3 years ago |
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.