up to date example of doing source to source transform in Clang?

What is the most up to date example of doing source to source
transform in Clang? This is old:

I can fuss with getting it to build, but I thought someone might know
another example that works out of the box.

Gry

What makes you say it's old? It was last updated just a couple of weeks
ago, and also should build fine with any of the recent LLVM released
binaries

Eli