The current infrastructure in lib/Interpreter has a tool, clang-repl, very similar to clang-interpreter which also allows incremental compilation.
This patch moves clang-interpreter as a test case and drops it as conditionally built example as we already have clang-repl in place.
I don't follow why this can't be static. Is there some problem with using the address of this function if it's static?