[cfe-dev] Using libtooling to parse C++ code

Patrick Lam prof.lam at gmail.com
Fri Nov 14 13:05:09 PST 2014


I've found that libtooling works just fine with C++ code, although you
get different ASTs and may have to deal with different types of nodes.

pat


On Fri, Nov 14, 2014 at 4:00 PM, Alvin Cheung <acheung01 at hotmail.com> wrote:
> Hi, I would like to know how I can build a tool using libtooling that
> analyzes C++ code? The tutorial that I found on
> http://clang.llvm.org/docs/LibASTMatchersTutorial.html seems to take C code
> only.
>
> Thanks,
> Alvin
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>



More information about the cfe-dev mailing list