<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Feb 20, 2014 at 4:43 PM, Richard <span dir="ltr"><<a href="mailto:legalize@xmission.com" target="_blank">legalize@xmission.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
In article <<a href="mailto:CAOsfVvnnO-6VRGLdzWuvp-Qb1qR61wAqJ_d8vHX-LgyWTa6u%2Bg@mail.gmail.com">CAOsfVvnnO-6VRGLdzWuvp-Qb1qR61wAqJ_d8vHX-LgyWTa6u+g@mail.gmail.com</a>>,<br>
    Manuel Klimek <<a href="mailto:klimek@google.com">klimek@google.com</a>> writes:<br>
<br>
> [...] Assuming you want to "get" it, you'd<br>
<div class="">> say something like varDecl(hasType(qualType().bind("t"))) (untested ;), and<br>
> then in the callback extract the QualType and call getAsString() on it.<br>
<br>
</div>Thanks for these responses, Manuel!  I'm still learning these matchers<br>
and there's quite a bit to digest there.  These suggestions have been<br>
very instructive!<br></blockquote><div><br></div><div>You might want to take a look at clang-query, which helps with experimenting with matchers quickly (no compile needed, it uses the dynamic matchers).</div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">--<br>
"The Direct3D Graphics Pipeline" free book <<a href="http://tinyurl.com/d3d-pipeline" target="_blank">http://tinyurl.com/d3d-pipeline</a>><br>
     The Computer Graphics Museum <<a href="http://ComputerGraphicsMuseum.org" target="_blank">http://ComputerGraphicsMuseum.org</a>><br>
         The Terminals Wiki <<a href="http://terminals.classiccmp.org" target="_blank">http://terminals.classiccmp.org</a>><br>
  Legalize Adulthood! (my blog) <<a href="http://LegalizeAdulthood.wordpress.com" target="_blank">http://LegalizeAdulthood.wordpress.com</a>><br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div></div>