Skip to content

Conversation

@jonmeow
Copy link
Contributor

@jonmeow jonmeow commented Feb 3, 2025

@github-actions github-actions bot requested a review from dwblaikie February 3, 2025 19:30
github-merge-queue bot pushed a commit that referenced this pull request Feb 3, 2025
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.
Copy link
Contributor

@dwblaikie dwblaikie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not rightly sure what to look for when reviewing this - but checked the bits you mentioned in the description, and glanced at the lowering test changes to IR output - looks plausible to me.

@jonmeow jonmeow added this pull request to the merge queue Feb 4, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 4, 2025
@jonmeow
Copy link
Contributor Author

jonmeow commented Feb 4, 2025

I expect just "does this look reasonable" levels of review. Or "is this maybe making an accidental change that isn't clearly due to the LLVM update".

@jonmeow jonmeow added this pull request to the merge queue Feb 4, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 4, 2025
@jonmeow jonmeow added this pull request to the merge queue Feb 4, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 4, 2025
@jonmeow jonmeow added this pull request to the merge queue Feb 4, 2025
Merged via the queue into carbon-language:trunk with commit 2929254 Feb 4, 2025
8 checks passed
@jonmeow jonmeow deleted the llvm-update branch February 4, 2025 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants