[clang] Clang-Refactor (PR #94855)

Сергеев Игнатий via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 21 08:44:00 PST 2025


IgnatSergeev wrote:

> @IgnatSergeev, no-one ever commented on this PR? We are interested in potentially extending this `clang-refactor` tool. Any suggestions or advance on doing so? (You can contact me directly at [rabartl at sandia.gov](mailto:rabartl at sandia.gov).)

Hey, glad you are interested, i was doing this as my side project, and it was a draft version, but i tried to expand clang-refactor with deletion of statements and other AST constructs

Later i decided to do much more general thing and integrated AST Matchers with AST Edits into Refactoring Engine (basically to do replacements)
And i actually have a PR inside my fork with code that implements it, since you became interested in extending clang-refactor, i will update that branch with latest main, create a new PR, and leave a link here

And again glad you became interested

https://github.com/llvm/llvm-project/pull/94855


More information about the cfe-commits mailing list