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 http://clang.llvm.org/docs/LibASTMatchersTutorial.html seems to take C code only.

Thanks,
Alvin

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