[cfe-dev] doing global unused methods analysis
Noel Grandin via cfe-dev
cfe-dev at lists.llvm.org
Mon Oct 5 07:53:39 PDT 2015
On 2015-10-05 04:36 PM, Manuel Klimek wrote:
>
> Btw, I think looking into the AST matchers and clang-query can greatly speed up your development cycle here. We have a
> dead code analysis based on these, and I wouldn't want to implement all the matchers with special visitors.
>
Sounds interesting, I'll have to look into those. At the moment we have a framework based around RecursiveASTVisitor, so
there is not that much code to implement in each checker (of which we have lots).
Found my problem.... a little thing called:
bool shouldVisitTemplateInstantiations () const
from here:
http://clang.llvm.org/doxygen/classclang_1_1RecursiveASTVisitor.html
Sigh, now to strip out all the junk I added trying to workaround my lack of documentation reading :-)
-- Noel Grandin.
More information about the cfe-dev
mailing list