[cfe-dev] Writing C++ refactoring tools in Common Lisp
klimek at google.com
Tue Jan 14 00:40:30 PST 2014
On Tue, Jan 14, 2014 at 2:14 AM, Richard <legalize at xmission.com> wrote:
> In article <BC8D58EA-DA81-418B-A429-9F260BC1DF88 at verizon.net>,
> Christian Schafmeister <chris.schaf at verizon.net> writes:
> > Does it mean that you can only use that matcher X as a parameter of
> > matcher Y if matcher Y accepts matcher Xs "Return Type" (or a more
> > type) as a "Parameters" type?
> I believe this is correct.
Yep, this is correct.
Generally, you'll want to use "clang -ast-dump" or "clang-check -ast-dump"
to learn how the AST of a file looks; that helps in learning what ast
matchers you'll need. Then I'm using clang-query to refine my ast matchers.
> "The Direct3D Graphics Pipeline" free book <
> The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
> The Terminals Wiki <http://terminals.classiccmp.org>
> Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev