extending clang

I am naive for clang. I want to add my own class code in clang source code and it should build with clang and execute with clang command. what should i do?

Could you explain a bit more what you are trying to do?