Using libtooling to parse C++ code

Hi, I would like to know how I can build a tool using libtooling that analyzes C++ code? The tutorial that I found on seems to take C code only.


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.