<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Feb 19, 2014 at 10:43 AM, Peter Collingbourne <span dir="ltr"><<a href="mailto:peter@pcc.me.uk" target="_blank">peter@pcc.me.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>None other than that I wasn't aware of it at the time. (When i was writing my matcher in clang-query i was trying to complete a type matcher, and clang-query didn't show it as a type completion. Probably a clang-query bug but personally I think we need to do something about the distinction between type and qualtype matchers.) You can decline this patch if you like or I'll do it tomorrow.</div>
</blockquote><div><br></div><div>Ah, yes, the type -> qualtype thing is something we need to build into the dynamic matchers, methinks; basically, there's some automagic conversions going on that we need to explicitly model.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div class="h5"><br><br><div class="gmail_quote">On February 19, 2014 12:45:45 AM PST, Manuel Klimek <<a href="mailto:klimek@google.com" target="_blank">klimek@google.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<pre><br><br>================<br>Comment at: include/clang/ASTMatchers/ASTMatchers.h:2917<br>@@ +2916,3 @@<br>+///   matches "float b"<br>+AST_MATCHER_P(BuiltinType, isSpecific, std::string, Name) {<br>+  PrintingPolicy PP((LangOptions()));<br>
----------------<br>a specific reason that "asString" doesn't already support your use case? (perhaps with adding an "isBuiltin" matcher)<br><br><br><a href="http://llvm-reviews.chandlerc.com/D2823" target="_blank">http://llvm-reviews.chandlerc.com/D2823</a><br>
<br></pre></blockquote></div><br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</font></span></div></blockquote></div><br></div></div>