[cfe-dev] Retrieving assignment operator from AST

George Burgess IV via cfe-dev cfe-dev at lists.llvm.org
Mon Apr 18 13:18:59 PDT 2016


Hi!

ASTMatchers ( http://clang.llvm.org/docs/LibASTMatchersReference.html ) are
probably what you're looking for. If you'd like examples,
clang-tidy's SimplifyBooleanExprCheck seems to create ASTMatchers for
assignment operations.

On Mon, Apr 18, 2016 at 2:27 AM, Awanish via cfe-dev <cfe-dev at lists.llvm.org
> wrote:

> Dear All,
>
> I want to retrieve all assignment operator from a given C program. Can
> anyone please inform me how to do it?Thanks in advance:-) .
>
> --
> Thanks and Regards
> Awanish Pandey
> PhD, CSE
> IIT Kanpur
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160418/9eaaa72c/attachment.html>


More information about the cfe-dev mailing list