[cfe-dev] Creating AStMatcher from code ?

David Come via cfe-dev cfe-dev at lists.llvm.org
Mon Mar 14 06:49:09 PDT 2016


Hello,

I have been playing a bit with lib ASTMatcher and it is very tedious to use.
My workflow is to dump the AST  for the relevant code and translate it 
into matchers, using clang-query to make sure it works.

I was wandering is there was any tool (or proposal, work in progress...) 
for automating this work.
The end goal would be give it some C++ code as input and have the 
corresponding matcher in output.

Thanks,
David


More information about the cfe-dev mailing list