I'm new to the Clang and LLVM. What I want to do is read C code, then write different C code. I was looking for a way to get started and found this: clang tutorial

But it seems to be out of date with the current llvm/clang codebase. Can anyone point me in a useful direction?

Cheers,
Steve

You can look at rewriter code which does what you want. These files are
under lib/Frontend with names such as RewriteObjC.cpp etc.

- Fariborz