Comment by karlding
1 day 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/+/80a6fc33dee...
[1] https://releases.llvm.org/21.1.0/tools/clang/tools/extra/doc...
No comments yet
Contribute on Hacker News ↗