How to design my own annotation language?

Hi All,

I hope to have a try to design some annotations for C or C++. But I am new
to Clang and wandering where I should start with, e.g. how to parse the
annotations and how the compiler react at compiler-time when it sees the
annotations. Could anyone give some advice?

Thanks in advance!

Best,
Chen

You may find the following link helpful:

http://clang.llvm.org/docs/InternalsManual.html#AddingAttributes

Cheers,

Caitlin