<div dir="ltr"><div>Hi!</div><div><br></div>ASTMatchers ( <a href="http://clang.llvm.org/docs/LibASTMatchersReference.html" target="_blank">http://clang.llvm.org/docs/LibASTMatchersReference.html</a> ) are probably what you're looking for. If you'd like examples, clang-tidy's SimplifyBooleanExprCheck seems to create ASTMatchers for assignment operations.<div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 18, 2016 at 2:27 AM, Awanish via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear All,<br>
<br>
I want to retrieve all assignment operator from a given C program. Can anyone please inform me how to do it?Thanks in advance:-) .<span><font color="#888888"><br>
<br>
-- <br>
Thanks and Regards<br>
Awanish Pandey<br>
PhD, CSE<br>
IIT Kanpur<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">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/mailman/listinfo/cfe-dev</a><br>
</font></span></blockquote></div><br></div></div></div>