[cfe-dev] Creating AStMatcher from code ?

Manuel Klimek via cfe-dev cfe-dev at lists.llvm.org
Mon Mar 14 07:11:36 PDT 2016

On Mon, Mar 14, 2016 at 2:50 PM David Come via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> 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.

Unfortunately there is no such tool. Would be awesome to have, though :)

> Thanks,
> David
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160314/89a3f8f9/attachment.html>

More information about the cfe-dev mailing list