<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 14 mars 2018 12:03, "Aaron Ballman" <<a href="mailto:aaron@aaronballman.com">aaron@aaronballman.com</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Mar 14, 2018 at 7:56 AM, Matthieu Brucher via cfe-dev<br>
<div class="quoted-text"><<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br>
><br>
><br>
> Le 12 mars 2018 21:30, "Miklos Vajna" <<a href="mailto:vmiklos@vmiklos.hu">vmiklos@vmiklos.hu</a>> a écrit :<br>
><br>
> Hi,<br>
><br>
> On Mon, Mar 12, 2018 at 08:49:50PM +0000, Matthieu Brucher via cfe-dev<br>
> <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br>
>> I guess you have to know the AST matcher expressions... Are there<br>
>> tutorials<br>
>> on top of the doxygen doc? Or perhaps even books?<br>
><br>
> Try <<a href="https://clang.llvm.org/docs/LibASTMatchersTutorial.html" rel="noreferrer" target="_blank">https://clang.llvm.org/docs/<wbr>LibASTMatchersTutorial.html</a>>.<br>
><br>
> Regards,<br>
><br>
> Miklos<br>
><br>
><br>
> Thanks for the pointers.<br>
> Is the not() matcher only available in 6.0? I tried the expression in<br>
> 5.0.1,but it failed.<br>
> Still trying to find the list of possible "instructions" in the query.<br>
<br>
</div>There isn't a not() matcher; you want to use unless().<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Oh yes, I forgot... </div><div dir="auto">Thanks. </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
~Aaron<br>
<br>
><br>
> Regards<br>
><br>
> Matthieu Brucher<br>
<div class="elided-text">><br>
> ______________________________<wbr>_________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
><br>
</div></blockquote></div><br></div></div><div class="gmail_extra" dir="auto"><br></div></div>