Skip to content

Commit a8aca3c

Browse files
authored
Remove legacy migration prototype (#4887)
Although migration tooling is intended for Carbon, this tooling was primarily a proof-of-concept prototype. The last time it got significant work was in 2022 (https://github.com/carbon-language/carbon-lang/commits/trunk/migrate_cpp); since then, we've mainly been doing small cleanups to keep it building. We're now hitting an issue in #4886 that `TypeNodes.inc` isn't exposed as a `#include`. We already had thoughts about rewriting this as a `RecursiveASTVisitor`, per `rewriter.cpp`/`rewriter.h`. That may justify a significantly different approach than had been set up in `cpp_refactoring`. But, it's hard to tell. Either way, my sense is that rather than incrementally trying to keep this code building, we should revisit it when we're ready and have a long-term strategy for how migration should work.
1 parent 77ea777 commit a8aca3c

24 files changed

+0
-2250
lines changed

bazel/check_deps/BUILD

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ filegroup(
1515
data = [
1616
"//explorer",
1717
"//installers/local:carbon",
18-
"//migrate_cpp:rewriter",
19-
"//migrate_cpp/cpp_refactoring",
2018
"//toolchain/install:carbon-busybox",
2119
# The tree sitter rules can't be queried; evaluation fails on
2220
# @platforms.

migrate_cpp/BUILD

Lines changed: 0 additions & 60 deletions
This file was deleted.

migrate_cpp/README.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

migrate_cpp/clang_tidy.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

migrate_cpp/cpp_refactoring/BUILD

Lines changed: 0 additions & 120 deletions
This file was deleted.

migrate_cpp/cpp_refactoring/fn_inserter.cpp

Lines changed: 0 additions & 50 deletions
This file was deleted.

migrate_cpp/cpp_refactoring/fn_inserter.h

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)