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
Go into llvm-build/tools/clang, and run "make BUILD_EXAMPLES=1".