[clang] [clang-refactor] Add Matcher Edit refactoring rule (PR #123782)
Сергеев Игнатий via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 19 09:06:59 PDT 2025
IgnatSergeev wrote:
@bartlettroscoe, sorry for not responding, at some point, i forgot checking my github notifications
You were right about the amount of refactorings that LibTool could support
And actually AST transformations are already supported in clang-transformer tool and its library, so the clang-refactor tool is abandoned as i could tell
Furthermore, transformer is the main tool (or actually library) for transformations in clang-tidy
So i would recommend reading about them, and searching through their code, maybe you could find some of the refactorings already implemented for those tools
And i could be wrong, but everyone mostly uses transformer to implement their own refactorings privately, as sad for open source as it may sound
https://github.com/llvm/llvm-project/pull/123782
More information about the cfe-commits
mailing list