<div dir="ltr">Adding cfe-dev, because it is related to clang, not LLVM.</div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-27 22:34 GMT+01:00 Piotr Padlewski <span dir="ltr"><<a href="mailto:piotr.padlewski@gmail.com" target="_blank">piotr.padlewski@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Mads,<div>Can you provide the code that you run clang-query on, or at least AST for the fragment you want to match?</div><div><br></div><div>Piotr</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2016-11-26 22:27 GMT+01:00 Mads Ravn via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>Hope this is the right channel for this question. I am trying to make an ast matcher for clang-tidy to find str1.compare(str2), where both str1 and str2 are std::string. I have this so far: <a href="http://i.imgur.com/sUma9WC.png" target="_blank">http://i.imgur.com/sUma9W<wbr>C.png</a> . But I am having a hard time finding a way to bind an id to the str1 part of the expression.</div><div><br></div><div>Can anyone help me out with an idea?</div><div><br></div><div>Best regards,</div><div>Mads Ravn</div></div>
<br></div></div>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>