I need some simple example to start using clang. I downloaded llvm and clang and built:
mkdir llvm-build cd llvm-build ../llvm/configure make
I
I tried to do something similar yesterday: get a list of methods in a class using clang and succeeded. Maybe my post helps here also. My best help was this AST Matchers tutorial.