[cfe-dev] Status of the TokenRewriter API?

Vedant Kumar via cfe-dev cfe-dev at lists.llvm.org
Tue Oct 11 10:32:04 PDT 2016


Hi,

Is anyone using the TokenRewriter API from libclangRewrite?

I'm asking because it has no test coverage [1][2], and because it doesn't
appear to be used by clang/tools/extra or libclang. It'd be nice to have a
runnable test for this in-tree. Otherwise, it's just dead code..

best,
vedant

[1] http://lab.llvm.org:8080/coverage/coverage-reports/clang/coverage/Users/buildslave/jenkins/sharedspace/clang-stage2-coverage-R@2/llvm/tools/clang/lib/Rewrite/TokenRewriter.cpp.html
[2] http://lab.llvm.org:8080/coverage/coverage-reports/clang/coverage/Users/buildslave/jenkins/sharedspace/clang-stage2-coverage-R@2/llvm/tools/clang/lib/Frontend/Rewrite/RewriteTest.cpp.html



More information about the cfe-dev mailing list