4 ms·
You can write automated refactoring with clang tools if you need AST-level knowledge across your project (or monorepo). I’m not sure if there’s other public ex
by karlding 7mo ago
You can write automated refactoring with clang tools if you need AST-level knowledge across your project (or monorepo).
I’m not sure if there’s other public examples leveraging this, but Chromium has this document [0] which has a few examples. And there’s also the clang-tidy docs [1].
[0] https://chromium.googlesource.com/chromium/src/+/80a6fc33deebf46d94572eff7baa7c8acd4150a6/docs/clang_tool_refactoring.md https://chromium.googlesource.com/chromium/src/+/80a6fc33dee...
[1] https://releases.llvm.org/21.1.0/tools/clang/tools/extra/docs/clang-tidy/index.html https://releases.llvm.org/21.1.0/tools/clang/tools/extra/doc...